pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: doc: Correct psql's \d+x documentation for sequences
3+ messages / 1 participants
[nested] [flat]

* pgsql: doc: Correct psql's \d+x documentation for sequences
@ 2026-10-21 14:39 Fujii Masao <fujii@postgresql.org>
  0 siblings, 0 replies; 3+ messages in thread

From: Fujii Masao @ 2026-10-21 14:39 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/54f38d8115918b2145a5f7995b19c3dfc3b2d7ea

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



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* pgsql: doc: Correct psql's \d+x documentation for sequences
@ 2026-10-21 14:39 Fujii Masao <fujii@postgresql.org>
  0 siblings, 0 replies; 3+ messages in thread

From: Fujii Masao @ 2026-10-21 14:39 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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_19_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/154052c354e7b35eb1695a8eb6f9983a593078c3

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



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* pgsql: doc: Correct psql's \d+x documentation for sequences
@ 2026-10-21 14:39 Fujii Masao <fujii@postgresql.org>
  0 siblings, 0 replies; 3+ messages in thread

From: Fujii Masao @ 2026-10-21 14:39 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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(-)



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2026-10-21 14:39 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2026-10-21 14:39 pgsql: doc: Correct psql's \d+x documentation for sequences Fujii Masao <fujii@postgresql.org>
2026-10-21 14:39 pgsql: doc: Correct psql's \d+x documentation for sequences Fujii Masao <fujii@postgresql.org>
2026-10-21 14:39 pgsql: doc: Correct psql's \d+x documentation for sequences Fujii Masao <fujii@postgresql.org>

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