diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2010-03-17 16:52:38 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2010-03-17 16:52:38 +0000 |
commit | 93324355eb9506512acfaca10f6958cdd3ccf77e (patch) | |
tree | ccd6e414f947f93fba6166bea4083fc9bde8a0c9 /src/include/parser/parse_agg.h | |
parent | f248e11f7006a4331c66ef838053dee827d5664d (diff) | |
download | postgresql-93324355eb9506512acfaca10f6958cdd3ccf77e.tar.gz postgresql-93324355eb9506512acfaca10f6958cdd3ccf77e.zip |
Pass incompletely-transformed aggregate argument lists as separate parameters
to transformAggregateCall, instead of abusing fields in Aggref to carry them
temporarily. No change in functionality but hopefully the code is a bit
clearer now. Per gripe from Gokulakannan Somasundaram.
Diffstat (limited to 'src/include/parser/parse_agg.h')
-rw-r--r-- | src/include/parser/parse_agg.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/parser/parse_agg.h b/src/include/parser/parse_agg.h index 8da37ef3077..5dc0da2f9b5 100644 --- a/src/include/parser/parse_agg.h +++ b/src/include/parser/parse_agg.h @@ -6,7 +6,7 @@ * Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/parser/parse_agg.h,v 1.42 2010/02/26 02:01:26 momjian Exp $ + * $PostgreSQL: pgsql/src/include/parser/parse_agg.h,v 1.43 2010/03/17 16:52:38 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -16,6 +16,7 @@ #include "parser/parse_node.h" extern void transformAggregateCall(ParseState *pstate, Aggref *agg, + List *args, List *aggorder, bool agg_distinct); extern void transformWindowFuncCall(ParseState *pstate, WindowFunc *wfunc, WindowDef *windef); |