Re: [PATCH] psql: add \dcs to list all constraints

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Tatsuro Yamada <yamatattsu@gmail.com>
Cc: Jim Jones <jim.jones@uni-muenster.de>, pgsql-hackers <pgsql-hackers@postgresql.org>, Álvaro Herrera <alvherre@kurilemu.de>
Date: 2026-01-15T03:59:10Z
Lists: pgsql-hackers
I wrote:
> * You might do well to use upper-case letters for add-on
> filters (that is, "N" not "n" for not-null, etc).  This isn't
> really a convention we've used elsewhere, except for the case
> of "S" for "system" in some commands.  But I think it's too
> hard to tell the base command name from the filter add-ons
> without some typographic help like that.

Or we could invert that: make the base command name "\dCN"
and then the add-on filters stay lower case.  Since we
already have, eg, "\dC", this might be less of a departure
from existing practice.

			regards, tom lane