mirror of
https://github.com/postgres/postgres.git
synced 2025-11-06 07:49:08 +03:00
Implement the FILTER clause for aggregate function calls.
This is SQL-standard with a few extensions, namely support for subqueries and outer references in clause expressions. catversion bump due to change in Aggref and WindowFunc. David Fetter, reviewed by Dean Rasheed.
This commit is contained in:
@@ -39,6 +39,7 @@ typedef enum ParseExprKind
|
||||
EXPR_KIND_FROM_FUNCTION, /* function in FROM clause */
|
||||
EXPR_KIND_WHERE, /* WHERE */
|
||||
EXPR_KIND_HAVING, /* HAVING */
|
||||
EXPR_KIND_FILTER, /* FILTER */
|
||||
EXPR_KIND_WINDOW_PARTITION, /* window definition PARTITION BY */
|
||||
EXPR_KIND_WINDOW_ORDER, /* window definition ORDER BY */
|
||||
EXPR_KIND_WINDOW_FRAME_RANGE, /* window frame clause with RANGE */
|
||||
|
||||
Reference in New Issue
Block a user