postgresql/src/backend/optimizer/util
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
..
clauses.c Adjust constant-folding of CASE expressions so that the simple comparison 2005-02-02 21:49:09 +00:00
joininfo.c Tag appropriate files for rc3 2004-12-31 22:04:05 +00:00
Makefile $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
pathnode.c Make the behavior of HAVING without GROUP BY conform to the SQL spec. 2005-03-10 23:21:26 +00:00
plancat.c Tag appropriate files for rc3 2004-12-31 22:04:05 +00:00
relnode.c Tag appropriate files for rc3 2004-12-31 22:04:05 +00:00
restrictinfo.c Tag appropriate files for rc3 2004-12-31 22:04:05 +00:00
tlist.c Tag appropriate files for rc3 2004-12-31 22:04:05 +00:00
var.c Tag appropriate files for rc3 2004-12-31 22:04:05 +00:00