| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Fix new pg_publication_tables query. |
| Date: | 2022-09-06 22:00:45 |
| Message-ID: | E1oVgce-001lHH-Jc@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
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(at)ahch-to
Branch
------
REL_15_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/e25631265a233e0c315458b206e419eca69fdb22
Modified Files
--------------
src/backend/catalog/system_views.sql | 9 ++++-----
src/include/catalog/catversion.h | 2 +-
src/test/regress/expected/rules.out | 9 ++-------
3 files changed, 7 insertions(+), 13 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Amit Kapila | 2022-09-07 03:41:17 | pgsql: Doc: Explain about Column List feature. |
| Previous Message | noreply | 2022-09-06 21:31:33 | pgsql: Tag refs/tags/REL_15_BETA4 was created |