pgsql: doc: Fix incorrect synopsis for ALTER PUBLICATION ... DROP ...

From: Fujii Masao <fujii(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: doc: Fix incorrect synopsis for ALTER PUBLICATION ... DROP ...
Date: 2025-11-12 04:46:12
Message-ID: E1vJ2kG-006B3n-2R@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

doc: Fix incorrect synopsis for ALTER PUBLICATION ... DROP ...

The synopsis for the ALTER PUBLICATION ... DROP ... command incorrectly
implied that a column list and WHERE clause could be specified as part of
the publication object. However, these options are not allowed for
DROP operations, making the documentation misleading.

This commit corrects the synopsis to clearly show only the valid forms
of publication objects.

Backpatched to v15, where the incorrect synopsis was introduced.

Author: Peter Smith <smithpb2250(at)gmail(dot)com>
Reviewed-by: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
Discussion: https://postgr.es/m/CAHut+PsPu+47Q7b0o6h1r-qSt90U3zgbAHMHUag5o5E1Lo+=uw@mail.gmail.com
Backpatch-through: 15

Branch
------
REL_17_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/d5c32753b033d7aa62382dfe4b10b0c2699b6ee1

Modified Files
--------------
doc/src/sgml/ref/alter_publication.sgml | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Fujii Masao 2025-11-12 04:46:23 pgsql: doc: Fix incorrect synopsis for ALTER PUBLICATION ... DROP ...
Previous Message Fujii Masao 2025-11-12 04:46:02 pgsql: doc: Fix incorrect synopsis for ALTER PUBLICATION ... DROP ...