aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2003-02-04 00:50:01 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2003-02-04 00:50:01 +0000
commit2d1f94054259d3237e678d89ca9e57305a6a3997 (patch)
tree40120fa68990f0a2714bb8daa5f944aa3ee08dd8 /src/include
parent85caf1784a318afdd3c4ba66ffd23c0d0af99cd6 (diff)
downloadpostgresql-2d1f94054259d3237e678d89ca9e57305a6a3997.tar.gz
postgresql-2d1f94054259d3237e678d89ca9e57305a6a3997.zip
Minor code cleanup: remove no-longer-useful pull_subplans() function,
and convert pull_agg_clause() into count_agg_clause(), which is a more efficient way of doing what it's really being used for.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/optimizer/clauses.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/include/optimizer/clauses.h b/src/include/optimizer/clauses.h
index 7ee0f1be2e4..5a38d6ef2ad 100644
--- a/src/include/optimizer/clauses.h
+++ b/src/include/optimizer/clauses.h
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Id: clauses.h,v 1.61 2003/01/17 03:25:04 tgl Exp $
+ * $Id: clauses.h,v 1.62 2003/02/04 00:50:01 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -46,12 +46,11 @@ extern List *make_ands_implicit(Expr *clause);
extern bool contain_agg_clause(Node *clause);
extern bool contain_distinct_agg_clause(Node *clause);
-extern List *pull_agg_clause(Node *clause);
+extern int count_agg_clause(Node *clause);
extern bool expression_returns_set(Node *clause);
extern bool contain_subplans(Node *clause);
-extern List *pull_subplans(Node *clause);
extern bool contain_mutable_functions(Node *clause);
extern bool contain_volatile_functions(Node *clause);