]> granicus.if.org Git - postgresql/commit
Use Params, rather than run-time-modified Const nodes, to handle
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 26 Nov 2002 03:01:59 +0000 (03:01 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 26 Nov 2002 03:01:59 +0000 (03:01 +0000)
commitea0b5c856922c08ef2ce6e2eb26f6c68d20bf957
treed4e59a1b466aaf615adc9d513fbd5d00e87cd388
parentac47950238480321862c3a0b66cb01c40af801db
Use Params, rather than run-time-modified Const nodes, to handle
sublink results and COPY's domain constraint checking.  A Const that
isn't really constant is just a Bad Idea(tm).  Remove hacks in
parse_coerce and other places that were needed because of the former
klugery.
src/backend/commands/copy.c
src/backend/executor/nodeSubplan.c
src/backend/optimizer/plan/planner.c
src/backend/optimizer/plan/subselect.c
src/backend/optimizer/util/clauses.c
src/backend/parser/parse_coerce.c
src/backend/parser/parse_expr.c
src/backend/utils/adt/ruleutils.c
src/include/nodes/primnodes.h