pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Fujii Masao <fujii@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: doc: Correct psql's \d+x documentation for sequences
Date: Wed, 21 Oct 2026 14:39:40 +0000
Message-ID: <E1xJXTg-00000000CQ8-2H7d@gemulon.postgresql.org> (raw)

doc: Correct psql's \d+x documentation for sequences

Commit 00f4c2959d6 added the x modifier to psql's list commands, making
\d+x display sequence descriptions in expanded mode. However, the
documentation and \? help indicate that x applies only without a pattern.

Clarify that \d+x also uses expanded mode when describing sequences
matched by a name or pattern, and update the command help accordingly.
Also clarify that the same restriction applies to \x on and \x auto.

Backpatch to v18, where the x modifier was introduced.

Reported-by: George MacKerron <george.mackerron@databricks.com>
Author: Fujii Masao <masao.fujii@gmail.com>
Reviewed-by: Shihao Zhong <zhong950419@gmail.com>
Discussion: https://postgr.es/m/FEA91EA9-CF32-4920-9674-F2C3E01C3807@databricks.com
Backpatch-through: 18

Branch
------
REL_18_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/4272618fbb83f1522e68626f70f0dee4628b73f2

Modified Files
--------------
doc/src/sgml/ref/psql-ref.sgml | 11 +++++++----
src/bin/psql/help.c            |  3 ++-
2 files changed, 9 insertions(+), 5 deletions(-)



view thread (3+ messages)

Message-ID: <E1xJXTg-00000000CQ8-2H7d@gemulon.postgresql.org>
Permalink:  ../E1xJXTg-00000000CQ8-2H7d@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1xJXTg-00000000CQ8-2H7d@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: fujii@postgresql.org
  Subject: Re: pgsql: doc: Correct psql's \d+x documentation for sequences
  In-Reply-To: <E1xJXTg-00000000CQ8-2H7d@gemulon.postgresql.org>
  References: <E1xJXTg-00000000CQ8-2H7d@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox