aboutsummaryrefslogtreecommitdiff
path: root/src/backend/parser/parse_clause.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2013-07-23 18:21:19 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2013-07-23 18:21:19 -0400
commit10a509d82956dee14eb2011bd266cd3c728ae188 (patch)
treec806c2fcb115030a5c025a11a3dbf0aeefebecf2 /src/backend/parser/parse_clause.c
parentef655663c5069231e054c3514c3ee9b15b8a4f13 (diff)
downloadpostgresql-10a509d82956dee14eb2011bd266cd3c728ae188.tar.gz
postgresql-10a509d82956dee14eb2011bd266cd3c728ae188.zip
Move strip_implicit_coercions() from optimizer to nodeFuncs.c.
Use of this function has spread into the parser and rewriter, so it seems like time to pull it out of the optimizer and put it into the more central nodeFuncs module. This eliminates the need to #include optimizer/clauses.h in most of the calling files, demonstrating that this function was indeed a bit outside the normal code reference patterns.
Diffstat (limited to 'src/backend/parser/parse_clause.c')
-rw-r--r--src/backend/parser/parse_clause.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/backend/parser/parse_clause.c b/src/backend/parser/parse_clause.c
index cbfb43188c1..ea90e58f710 100644
--- a/src/backend/parser/parse_clause.c
+++ b/src/backend/parser/parse_clause.c
@@ -21,7 +21,6 @@
#include "commands/defrem.h"
#include "nodes/makefuncs.h"
#include "nodes/nodeFuncs.h"
-#include "optimizer/clauses.h"
#include "optimizer/tlist.h"
#include "parser/analyze.h"
#include "parser/parsetree.h"