aboutsummaryrefslogtreecommitdiff
path: root/src/backend/parser/parse_clause.c
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2015-07-26 15:34:29 +0200
committerAndres Freund <andres@anarazel.de>2015-07-26 16:50:02 +0200
commite6d8cb77c029b8122607e3d2eb1f3fca36d7b1db (patch)
tree43703fec3d5d2275451a929c347173561ef59002 /src/backend/parser/parse_clause.c
parent144666f65b500fef864bca318f6245b03c0f457c (diff)
downloadpostgresql-e6d8cb77c029b8122607e3d2eb1f3fca36d7b1db.tar.gz
postgresql-e6d8cb77c029b8122607e3d2eb1f3fca36d7b1db.zip
Recognize GROUPING() as a aggregate expression.
Previously GROUPING() was not recognized as a aggregate expression, erroneously allowing the planner to move it from HAVING to WHERE. Author: Jeevan Chalke Reviewed-By: Andrew Gierth Discussion: CAM2+6=WG9omG5rFOMAYBweJxmpTaapvVp5pCeMrE6BfpCwr4Og@mail.gmail.com Backpatch: 9.5, where grouping sets were introduced
Diffstat (limited to 'src/backend/parser/parse_clause.c')
0 files changed, 0 insertions, 0 deletions