pgsql: Don't show tables redundantly when their schema is published.
pgsql: Don't show tables redundantly when their schema is published.
От:
Amit Kapila <akapila@postgresql.org>
Дата:
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 Co-author: Jim Jones Reviewed-by: Nisha Moond Reviewed-by: vignesh C Reviewed-by: Shlok Kyal 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(-)