pgsql: Don't show tables redundantly when their schema is published. - Mailing list pgsql-committers

From Amit Kapila
Subject pgsql: Don't show tables redundantly when their schema is published.
Date
Msg-id E1wj7oS-000qBO-2g@gemulon.postgresql.org
Whole thread
List pgsql-committers
Don't show tables redundantly when their schema is published.

A table published both explicitly and through its schema (FOR TABLES IN
SCHEMA) was listed twice by \dRp+ and \d.  Since publishing a schema
publishes its tables in full, the explicit entry's row filter has no
effect; suppress it when the same publication also publishes the table's
schema.

Author: Peter Smith <smithpb2250@gmail.com>
Co-author: Jim Jones <jim.jones@uni-muenster.de>
Reviewed-by: Nisha Moond <nisha.moond412@gmail.com>
Reviewed-by: vignesh C <vignesh21@gmail.com>
Reviewed-by: Shlok Kyal <shlok.kyal.oss@gmail.com>
Discussion: https://postgr.es/m/CAHut%2BPvSOmRrQX%2BVrFYHtFipV9hM%3Dp99FeOwYCzkuU2BOaLu7Q%40mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/1863452a4bfecfefc51336ecfc78837a164fbb10

Modified Files
--------------
src/bin/psql/describe.c                   | 25 ++++++++++++++++++++++++-
src/test/regress/expected/publication.out | 29 +++++++++++++++++++++++------
src/test/regress/sql/publication.sql      |  5 +++++
3 files changed, 52 insertions(+), 7 deletions(-)


pgsql-committers by date:

Previous
From: Michael Paquier
Date:
Subject: pgsql: Add recovery/startup test with backup_label and missing checkpoi
Next
From: Peter Eisentraut
Date:
Subject: pgsql: Clean up readlink() return type