Re: Show comments in \dRp+, \dRs+, and \dX+ psql meta-commands
Álvaro Herrera <alvherre@kurilemu.de>
From: Álvaro Herrera <alvherre@kurilemu.de>
To: Fujii Masao <masao.fujii@gmail.com>
Cc: Pavel Luzanov <p.luzanov@postgrespro.ru>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2026-02-26T13:53:48Z
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)
Commits
-
psql: Show comments in \dRp+, \dRs+, and \dX+ psql meta-commands.
- aecc558666ad 19 (unreleased) landed