diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2001-10-30 19:58:58 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2001-10-30 19:58:58 +0000 |
commit | 96ca8ffebcb43df1c575ce6831324c553a31c891 (patch) | |
tree | 5c161145539f64a5d274e0e3fdb5df23625d8e0b /src/include | |
parent | 512a3aef36591386640f34866c1acbe58c20ca6e (diff) |
Fix problems with subselects used in GROUP BY expressions, per gripe
from Philip Warner. Side effect of change is that GROUP BY expressions
will not be re-evaluated at multiple plan levels anymore, whereas this
sometimes happened with old code.
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/optimizer/clauses.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/optimizer/clauses.h b/src/include/optimizer/clauses.h index aa97bcc862c..da8429ca094 100644 --- a/src/include/optimizer/clauses.h +++ b/src/include/optimizer/clauses.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: clauses.h,v 1.47 2001/10/28 06:26:07 momjian Exp $ + * $Id: clauses.h,v 1.48 2001/10/30 19:58:58 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -44,7 +44,7 @@ extern List *pull_agg_clause(Node *clause); extern bool contain_subplans(Node *clause); extern List *pull_subplans(Node *clause); -extern void check_subplans_for_ungrouped_vars(Node *clause, Query *query); +extern void check_subplans_for_ungrouped_vars(Query *query); extern bool contain_noncachable_functions(Node *clause); |