summaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeHashjoin.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2004-07-10 18:39:44 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2004-07-10 18:39:44 +0000
commit54affc0921a169559ccbca57fa1b7a9ba09ef813 (patch)
tree7a4d68ef80173bb55168a527499e058fb6b494ba /src/backend/executor/nodeHashjoin.c
parent56442e9fab3c27bf30598867f87f92bf7e15d077 (diff)
Test HAVING condition before computing targetlist of an Aggregate node.
This is required by SQL spec to avoid failures in cases like SELECT sum(win)/sum(lose) FROM ... GROUP BY ... HAVING sum(lose) > 0; AFAICT we have gotten this wrong since day one. Kudos to Holger Jakobs for being the first to notice.
Diffstat (limited to 'src/backend/executor/nodeHashjoin.c')
0 files changed, 0 insertions, 0 deletions