Re: Show comments in \dRp+, \dRs+, and \dX+ psql meta-commands

From: Álvaro Herrera <alvherre(at)kurilemu(dot)de>
To: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
Cc: Pavel Luzanov <p(dot)luzanov(at)postgrespro(dot)ru>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Show comments in \dRp+, \dRs+, and \dX+ psql meta-commands
Date: 2026-02-26 13:53:48
Message-ID: 202602261352.72goo47xpzom@alvherre.pgsql
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2026-Feb-26, Fujii Masao wrote:

> Or both? IOW, display comments if either that psql variable is enabled
> or "*" is specified in the \d command; otherwise, omit them.
>
> With this approach, users who prefer the current behavior (showing comments
> with the "+" option) can simply enable that psql variable and see comments
> without adding "*". Conversely, users who prefer not to include comments
> can disable that variable and use "*" only when they want to display them.

I like this, thanks. I wonder though if the variable ought to be more
generic.

--
Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/
"Always assume the user will do much worse than the stupidest thing
you can imagine." (Julien PUYDT)

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2026-02-26 13:55:56 Re: pg_plan_advice
Previous Message David Rowley 2026-02-26 13:52:50 Re: More speedups for tuple deformation