aboutsummaryrefslogtreecommitdiff
path: root/src/bin/psql/stringutils.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2021-06-02 14:38:14 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2021-06-02 14:38:14 -0400
commitbdd096f1aec040574ff36a16946579b23a0e4879 (patch)
treeb3d4a729443c7248f8c1e9ef0026d61146368366 /src/bin/psql/stringutils.c
parent762fe98b1ba63101bbf1fe8fcd1e23532d2c4f41 (diff)
downloadpostgresql-bdd096f1aec040574ff36a16946579b23a0e4879.tar.gz
postgresql-bdd096f1aec040574ff36a16946579b23a0e4879.zip
Fix planner's row-mark code for inheritance from a foreign table.
Commit 428b260f8 broke planning of cases where row marks are needed (SELECT FOR UPDATE, etc) and one of the query's tables is a foreign table that has regular table(s) as inheritance children. We got the reverse case right, but apparently were thinking that foreign tables couldn't be inheritance parents. Not so; so we need to be able to add a CTID junk column while adding a new child, not only a wholerow junk column. Back-patch to v12 where the faulty code came in. Amit Langote Discussion: https://postgr.es/m/CA+HiwqEmo3FV1LAQ4TVyS2h1WM=kMkZUmbNuZSCnfHvMcUcPeA@mail.gmail.com
Diffstat (limited to 'src/bin/psql/stringutils.c')
0 files changed, 0 insertions, 0 deletions