public inbox for [email protected]
help / color / mirror / Atom feedFrom: Fujii Masao <[email protected]>
To: [email protected]
Subject: pgsql: psql: Show comments in \dRp+, \dRs+, and \dX+ psql meta-commands
Date: Sat, 28 Feb 2026 14:58:06 +0000
Message-ID: <[email protected]> (raw)
psql: Show comments in \dRp+, \dRs+, and \dX+ psql meta-commands.
Previously, the psql meta-commands that list publications, subscriptions,
and extended statistics did not display their associated comments,
whereas other \d meta-commands did. This made it inconvenient for users
to view these objects together with their descriptions.
This commit improves \dRp+ and \dRs+ to include comments for publications
and subscriptions. It also extends the \dX meta-command to accept the + option,
allowing comments for extended statistics to be shown when requested.
Author: Fujii Masao <[email protected]>
Co-authored-by: Jim Jones <[email protected]>
Reviewed-by: Matheus Alcantara <[email protected]>
Reviewed-by: Chao Li <[email protected]>
Discussion: https://postgr.es/m/CAHGQGwGL4JqiKA26fnGx-cTM=VzoTs_uzqejvj4Fawyr4uLUUw@mail.gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/aecc558666ad62fbecb08ff7af1394656811a581
Modified Files
--------------
doc/src/sgml/ref/psql-ref.sgml | 4 +-
src/bin/psql/command.c | 2 +-
src/bin/psql/describe.c | 40 ++-
src/bin/psql/describe.h | 2 +-
src/bin/psql/help.c | 2 +-
src/test/regress/expected/publication.out | 456 ++++++++++++++---------------
src/test/regress/expected/stats_ext.out | 60 ++--
src/test/regress/expected/subscription.out | 176 +++++------
8 files changed, 379 insertions(+), 363 deletions(-)
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected]
Subject: Re: pgsql: psql: Show comments in \dRp+, \dRs+, and \dX+ psql meta-commands
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox