[COMMITTERS] pgsql: psql: Fix display of whether table is part of publication - Mailing list pgsql-committers

From Peter Eisentraut
Subject [COMMITTERS] pgsql: psql: Fix display of whether table is part of publication
Date
Msg-id E1dGbG8-0003Kp-70@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
psql: Fix display of whether table is part of publication

If a FOR ALL TABLES publication was present, \d of a table would claim
for each table that it was part of the publication, even for tables that
are ignored for this purpose, such as system tables and unlogged tables.
Fix the query by using the function pg_get_publication_tables(), which
was intended for this purpose.

Reported-by: tushar <tushar.ahuja@enterprisedb.com>
Reviewed-by: Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Reviewed-by: Kuntal Ghosh <kuntalghosh.2007@gmail.com>

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/2d460179baa8744e9e2a183a5121306596c53fba

Modified Files
--------------
src/bin/psql/describe.c | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)


pgsql-committers by date:

Previous
From: Alvaro Herrera
Date:
Subject: [COMMITTERS] pgsql: Fix typo
Next
From: Peter Eisentraut
Date:
Subject: [COMMITTERS] pgsql: Reorganize logical replication worker disconnect code