1. 13 Mar, 2005 16 commits
  2. 12 Mar, 2005 12 commits
  3. 11 Mar, 2005 11 commits
  4. 10 Mar, 2005 1 commit
    • Tom Lane's avatar
      Make the behavior of HAVING without GROUP BY conform to the SQL spec. · 595ed2a8
      Tom Lane authored
      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.
      595ed2a8