aboutsummaryrefslogtreecommitdiff
path: root/src/backend/tcop/postgres.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2017-06-01 21:13:40 -0400
committerPeter Eisentraut <peter_e@gmx.net>2017-06-01 21:17:01 -0400
commit2d460179baa8744e9e2a183a5121306596c53fba (patch)
treeb1f08f7bba3ed54699ba3917e4713b74031d8deb /src/backend/tcop/postgres.c
parentf112f175a464697dd7ff5280de40dcc08d75f995 (diff)
downloadpostgresql-2d460179baa8744e9e2a183a5121306596c53fba.tar.gz
postgresql-2d460179baa8744e9e2a183a5121306596c53fba.zip
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>
Diffstat (limited to 'src/backend/tcop/postgres.c')
0 files changed, 0 insertions, 0 deletions