aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/basics.source
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2020-12-05 16:16:13 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2020-12-05 16:16:13 -0500
commit7d43b76f6ed97b3b27f30114636f7b116009ef61 (patch)
treed2f4450303dc777c575c577f565a0338fdd936a0 /src/tutorial/basics.source
parente41a2efbca10438fa0a506d4158edd1a1964aacf (diff)
downloadpostgresql-7d43b76f6ed97b3b27f30114636f7b116009ef61.tar.gz
postgresql-7d43b76f6ed97b3b27f30114636f7b116009ef61.zip
Fix missed step in removal of useless RESULT RTEs in the planner.
Commit 4be058fe9 forgot that the append_rel_list would already be populated at the time we remove useless result RTEs, and it might contain PlaceHolderVars that need to be adjusted like the ones in the main parse tree. This could lead to "no relation entry for relid N" failures later on, when the planner tries to do something with an unadjusted PHV. Per report from Tom Ellis. Back-patch to v12 where the bug came in. Discussion: https://postgr.es/m/20201205173056.GF30712@cloudinit-builder
Diffstat (limited to 'src/tutorial/basics.source')
0 files changed, 0 insertions, 0 deletions