Re: [PATCH] psql: add \dcs to list all constraints - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [PATCH] psql: add \dcs to list all constraints
Date
Msg-id 515851.1768449550@sss.pgh.pa.us
Whole thread Raw
In response to Re: [PATCH] psql: add \dcs to list all constraints  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [PATCH] psql: add \dcs to list all constraints
List 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



pgsql-hackers by date:

Previous
From: Sami Imseih
Date:
Subject: Re: Flush some statistics within running transactions
Next
From: jian he
Date:
Subject: Re: support ALTER COLUMN SET EXPRESSION over virtual generated column with check constraint