Re: [PATCH] psql: add \dcs to list all constraints
Álvaro Herrera <alvherre@kurilemu.de>
From: Álvaro Herrera <alvherre@kurilemu.de>
To: Tatsuro Yamada <yamatattsu@gmail.com>
Cc: Chao Li <li.evan.chao@gmail.com>, Tom Lane <tgl@sss.pgh.pa.us>, Jim Jones <jim.jones@uni-muenster.de>,
pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2026-01-19T13:09:48Z
Lists: pgsql-hackers
On 2026-Jan-19, Tatsuro Yamada wrote: Hello, > # Summary > The following changes are planned for the next patch: > > - Changed the query (using UNION ALL) > - Changed the columns and their order (and the sort order accordingly): > - Schema | Table | Type | Name | Definition > - Toggle definition verbosity with the + option > - Added a test case: \dCN cust*.order* > > The following items will not be included for now (as they are not critical): > > - Option to switch sort order > (e.g., sort by constraint name vs. table name) > - Improved command name checking logic Yeah, that sounds good to me. Thanks! -- Álvaro Herrera 48°01'N 7°57'E — https://www.EnterpriseDB.com/ "No deja de ser humillante para una persona de ingenio saber que no hay tonto que no le pueda enseñar algo." (Jean B. Say)