diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2004-07-10 18:39:23 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2004-07-10 18:39:23 +0000 |
commit | 82f755ec800849d1c0092fc90c9eba0225b10139 (patch) | |
tree | 7017e3e1a27894dd45bb3de766d5f3d05ed2480b /src/tutorial/advanced.source | |
parent | afa035c204d07bd783ee49f2eefbb6b42eb58b29 (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/tutorial/advanced.source')
0 files changed, 0 insertions, 0 deletions