aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/arrayutils.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2009-07-06 02:16:14 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2009-07-06 02:16:14 +0000
commit7b99b2aede7f177e7186b8dc71822586a2d513a9 (patch)
tree7fc333e58aba85fb94f58efd1bce1c042943fc07 /src/backend/utils/adt/arrayutils.c
parent3db8fa106e6f8f0aedcaa801df646d5003175b7b (diff)
downloadpostgresql-7b99b2aede7f177e7186b8dc71822586a2d513a9.tar.gz
postgresql-7b99b2aede7f177e7186b8dc71822586a2d513a9.zip
Fix handling of changed-Param signaling for CteScan plan nodes. We were using
the "cteParam" as a proxy for the possibility that the underlying CTE plan depends on outer-level variables or Params, but that doesn't work very well because it sometimes causes calling subqueries to be treated as SubPlans when they could be InitPlans. This is inefficient and also causes the outright failure exhibited in bug #4902. Instead, leave the cteParam out of it and copy the underlying CTE plan's extParams directly. Per bug #4902 from Marko Tiikkaja.
Diffstat (limited to 'src/backend/utils/adt/arrayutils.c')
0 files changed, 0 insertions, 0 deletions