summaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistutil.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2012-08-30 12:56:50 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2012-08-30 12:56:50 -0400
commitd1a4db8d25ec53fd17e99168bc5efa0b16ef6fed (patch)
tree588664bf187cc3124312d55c7f836fe71533ca25 /src/backend/access/gist/gistutil.c
parente1a6375d8f3a11f3447bea10883a4cbe1c5d3ec9 (diff)
downloadpostgresql-d1a4db8d25ec53fd17e99168bc5efa0b16ef6fed.tar.gz
Improve EXPLAIN's ability to cope with LATERAL references in plans.
push_child_plan/pop_child_plan didn't bother to adjust the "ancestors" list of parent plan nodes when descending to a child plan node. I think this was okay when it was written, but it's not okay in the presence of LATERAL references, since a subplan node could easily be returning a LATERAL value back up to the same nestloop node that provides the value. Per changed regression test results, the omission led to failure to interpret Param nodes that have perfectly good interpretations.
Diffstat (limited to 'src/backend/access/gist/gistutil.c')
0 files changed, 0 insertions, 0 deletions