postgresql/src/include/optimizer
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.h Improve planner's estimation of the space needed for HashAgg plans: 2005-01-28 19:34:28 +00:00
cost.h Tag appropriate files for rc3 2004-12-31 22:04:05 +00:00
geqo.h Tag appropriate files for rc3 2004-12-31 22:04:05 +00:00
geqo_copy.h Tag appropriate files for rc3 2004-12-31 22:04:05 +00:00
geqo_gene.h Tag appropriate files for rc3 2004-12-31 22:04:05 +00:00
geqo_misc.h Tag appropriate files for rc3 2004-12-31 22:04:05 +00:00
geqo_mutation.h Tag appropriate files for rc3 2004-12-31 22:04:05 +00:00
geqo_pool.h Tag appropriate files for rc3 2004-12-31 22:04:05 +00:00
geqo_random.h Tag appropriate files for rc3 2004-12-31 22:04:05 +00:00
geqo_recombination.h Tag appropriate files for rc3 2004-12-31 22:04:05 +00:00
geqo_selection.h Tag appropriate files for rc3 2004-12-31 22:04:05 +00:00
joininfo.h Tag appropriate files for rc3 2004-12-31 22:04:05 +00:00
pathnode.h Tag appropriate files for rc3 2004-12-31 22:04:05 +00:00
paths.h The result of a FULL or RIGHT join can't be assumed to be sorted by the 2005-01-23 02:21:36 +00:00
plancat.h Tag appropriate files for rc3 2004-12-31 22:04:05 +00:00
planmain.h Make the behavior of HAVING without GROUP BY conform to the SQL spec. 2005-03-10 23:21:26 +00:00
planner.h Tag appropriate files for rc3 2004-12-31 22:04:05 +00:00
prep.h Tag appropriate files for rc3 2004-12-31 22:04:05 +00:00
restrictinfo.h Tag appropriate files for rc3 2004-12-31 22:04:05 +00:00
subselect.h Tag appropriate files for rc3 2004-12-31 22:04:05 +00:00
tlist.h Tag appropriate files for rc3 2004-12-31 22:04:05 +00:00
var.h Tag appropriate files for rc3 2004-12-31 22:04:05 +00:00