File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change 1111 *
1212 *
1313 * IDENTIFICATION
14- * $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.145 2000/02/19 08:25:49 thomas Exp $
14+ * $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.146 2000/02/19 19:37:21 tgl Exp $
1515 *
1616 * HISTORY
1717 * AUTHOR DATE MAJOR EVENT
@@ -4546,6 +4546,19 @@ c_expr: attr
45464546 n->agg_distinct = false ;
45474547 $$ = (Node *)n;
45484548 }
4549+ | func_name ' (' ALL expr_list ' )'
4550+ {
4551+ FuncCall *n = makeNode(FuncCall);
4552+ n->funcname = $1 ;
4553+ n->args = $4 ;
4554+ n->agg_star = false ;
4555+ n->agg_distinct = false ;
4556+ /* Ideally we'd mark the FuncCall node to indicate
4557+ * "must be an aggregate", but there's no provision
4558+ * for that in FuncCall at the moment.
4559+ */
4560+ $$ = (Node *)n;
4561+ }
45494562 | func_name ' (' DISTINCT expr_list ' )'
45504563 {
45514564 FuncCall *n = makeNode(FuncCall);
You can’t perform that action at this time.
0 commit comments