public inbox for [email protected]
help / color / mirror / Atom feedFrom: Pavel Luzanov <[email protected]>
To: Álvaro Herrera <[email protected]>
To: Fujii Masao <[email protected]>
Cc: PostgreSQL Hackers <[email protected]>
Subject: Re: Show comments in \dRp+, \dRs+, and \dX+ psql meta-commands
Date: Thu, 26 Feb 2026 07:57:10 +0300
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
On 20.02.2026 18:48, Álvaro Herrera wrote:
> So if you want details but
> no comments, you use "\d+", and if you want comments but no details you
> use "\d*", and if you want everything, then you use \d+* or \d*+?
We need to keep in mind two more modifiers: S for system objects and x
for eXtended mode.
So it may be looks like slightly awkward: \dSx+*
Another option is to use psql variable (for example ECHO_COMMENTS
on/off) to force comments in \d* commands.
I'm not sure what option is better. But I like the idea of printing
comments.
--
Pavel Luzanov
Postgres Professional: https://postgrespro.com
view thread (2+ messages)
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], [email protected], [email protected]
Subject: Re: 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