Repair oversight in 8.2 change that improved the handling of "pseudoconstant"
authorTom Lane <[email protected]>
Thu, 15 Feb 2007 03:07:21 +0000 (03:07 +0000)
committerTom Lane <[email protected]>
Thu, 15 Feb 2007 03:07:21 +0000 (03:07 +0000)
commit9249a5ba25874b966e8e75723cbd3ddf422dd5b1
treee2eb1b0fa41cb21c7c87922f4dee9b4a458480c7
parentea04905109c5f0d181541b4f6eb51343c75b82b6
Repair oversight in 8.2 change that improved the handling of "pseudoconstant"
WHERE clauses.  createplan.c is now willing to stick a gating Result node
almost anywhere in the plan tree, and in particular one can wind up directly
underneath a MergeJoin node.  This means it had better be willing to handle
Mark/Restore.  Fortunately, that's trivial in such cases, since we can just
pass off the call to the input node (which the planner has previously ensured
can handle Mark/Restore).  Per report from Phil Frost.
src/backend/executor/execAmi.c
src/backend/executor/nodeResult.c
src/include/executor/nodeResult.h