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

From Tatsuro Yamada
Subject Re: [PATCH] psql: add \dcs to list all constraints
Date
Msg-id CAOKkKFscV6pHM1_cFUSAC+E-A03sWsLZQq0XW-ZCs-6=iWJGzg@mail.gmail.com
Whole thread Raw
In response to Re: [PATCH] psql: add \dcs to list all constraints  (Tatsuro Yamada <yamatattsu@gmail.com>)
List pgsql-hackers
Hi,

On Sat, Jan 10, 2026 at 12:14 PM Tatsuro Yamada <yamatattsu@gmail.com> wrote:
The next patch will include the following:
- Rebased version
- Expanded regression tests (kept to a minimum)

I revised the patch based on my previous email.

It includes:
  - Rebased version
  - Cosmetic changes
  - Add incorrect option check
  - Use validateSQLNamePattern() instead of processSQLNamePattern()
  - Fix bug \dcs with 'x' (expanded display) option
  - Add table name into ORDER BY to get consistent results
  - Add regression test cases
    - some edge cases suggested by Jim (Thanks!)
    - test cases for using validateSQLNamePattern()
    - incorrect option check, and so on

Comments and suggestions are welcome.

Regards,
Tatsuro Yamada
 
Attachment

pgsql-hackers by date:

Previous
From: li carol
Date:
Subject: RE: Use correct macro for accessing offset numbers.
Next
From: Chao Li
Date:
Subject: Re: docs: clarify ALTER TABLE behavior on partitioned tables