postgresql/src/backend/rewrite
Tom Lane 595ed2a855 Make the behavior of HAVING without GROUP BY conform to the SQL spec.
Formerly, if such a clause contained no aggregate functions we mistakenly
treated it as equivalent to WHERE.  Per spec it must cause the query to
be treated as a grouped query of a single group, the same as appearance
of aggregate functions would do.  Also, the HAVING filter must execute
after aggregate function computation even if it itself contains no
aggregate functions.
2005-03-10 23:21:26 +00:00
..
Makefile $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
rewriteDefine.c Change heap_modifytuple() to require a TupleDesc rather than a 2005-01-27 23:24:11 +00:00
rewriteHandler.c Make the behavior of HAVING without GROUP BY conform to the SQL spec. 2005-03-10 23:21:26 +00:00
rewriteManip.c Make the behavior of HAVING without GROUP BY conform to the SQL spec. 2005-03-10 23:21:26 +00:00
rewriteRemove.c Tag appropriate files for rc3 2004-12-31 22:04:05 +00:00
rewriteSupport.c Tag appropriate files for rc3 2004-12-31 22:04:05 +00:00