Repair optimization bug I introduced in a moment of brain fade back in
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 13 Feb 2004 22:26:43 +0000 (22:26 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 13 Feb 2004 22:26:43 +0000 (22:26 +0000)
commit59d44cc81ea0096971e140da78ae58bba5672ea1
tree3465ff413ac1bbc9d48174e164ab2db50764acb2
parent26d7c03212c58a454859e35ba6399c7645b8584d
Repair optimization bug I introduced in a moment of brain fade back in
Nov 2002: when constant-expression simplification removes all the
aggregate function calls from a query, that doesn't mean we can act as
though there never were any aggregates.  Per bug report from Gabor Szucs.
src/backend/optimizer/plan/planner.c