From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: psql: Fix display of whether table is part of publication |
Date: | 2017-06-02 01:20:12 |
Message-ID: | E1dGbG8-0003Kp-70@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(dot)ahuja(at)enterprisedb(dot)com>
Reviewed-by: Amit Langote <Langote_Amit_f8(at)lab(dot)ntt(dot)co(dot)jp>
Reviewed-by: Kuntal Ghosh <kuntalghosh(dot)2007(at)gmail(dot)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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2017-06-02 03:16:51 | pgsql: Reorganize logical replication worker disconnect code |
Previous Message | Alvaro Herrera | 2017-06-01 21:49:43 | pgsql: Fix typo |