]> granicus.if.org Git - postgresql/commit
Move strip_implicit_coercions() from optimizer to nodeFuncs.c.
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 23 Jul 2013 22:21:19 +0000 (18:21 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 23 Jul 2013 22:21:19 +0000 (18:21 -0400)
commit10a509d82956dee14eb2011bd266cd3c728ae188
treec806c2fcb115030a5c025a11a3dbf0aeefebecf2
parentef655663c5069231e054c3514c3ee9b15b8a4f13
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.
src/backend/nodes/nodeFuncs.c
src/backend/optimizer/util/clauses.c
src/backend/parser/parse_clause.c
src/backend/parser/parse_relation.c
src/backend/rewrite/rewriteHandler.c
src/backend/utils/adt/ruleutils.c
src/include/nodes/nodeFuncs.h
src/include/optimizer/clauses.h