diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2022-09-06 18:00:32 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2022-09-06 18:00:32 -0400 |
commit | e25631265a233e0c315458b206e419eca69fdb22 (patch) | |
tree | 93d27509353cc2e2c8be2af4eac987ee12615377 /src/backend/access/transam/xlogutils.c | |
parent | 6e55ea79faa56db85a2b6c5bf94cee8acf8bfdb8 (diff) | |
download | postgresql-e25631265a233e0c315458b206e419eca69fdb22.tar.gz postgresql-e25631265a233e0c315458b206e419eca69fdb22.zip |
Fix new pg_publication_tables query.
The addition of published column names forgot to filter on attisdropped,
leading to cases where you could see "........pg.dropped.1........"
or the like as a reportedly-published column.
While we're here, rewrite the new subquery to get a more efficient plan
for it.
Hou Zhijie, per report from Jaime Casanova. Back-patch to v15 where
the bug was introduced. (Sadly, this means we need a post-beta4
catversion bump before beta4 has even hit the streets. I see no
good alternative though.)
Discussion: https://postgr.es/m/Yxa1SU4nH2HfN3/i@ahch-to
Diffstat (limited to 'src/backend/access/transam/xlogutils.c')
0 files changed, 0 insertions, 0 deletions