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

From Álvaro Herrera
Subject Re: Show comments in \dRp+, \dRs+, and \dX+ psql meta-commands
Date
Msg-id 202602261352.72goo47xpzom@alvherre.pgsql
Whole thread Raw
In response to Re: Show comments in \dRp+, \dRs+, and \dX+ psql meta-commands  (Fujii Masao <masao.fujii@gmail.com>)
Responses Re: Show comments in \dRp+, \dRs+, and \dX+ psql meta-commands
List 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)



pgsql-hackers by date:

Previous
From: David Rowley
Date:
Subject: Re: More speedups for tuple deformation
Next
From: Robert Haas
Date:
Subject: Re: pg_plan_advice