pgsql: doc: Fix incorrect synopsis for ALTER PUBLICATION ... DROP ... - Mailing list pgsql-committers

From Fujii Masao
Subject pgsql: doc: Fix incorrect synopsis for ALTER PUBLICATION ... DROP ...
Date
Msg-id E1vJ2k6-006B3C-0A@gemulon.postgresql.org
Whole thread Raw
List 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@gmail.com>
Reviewed-by: Fujii Masao <masao.fujii@gmail.com>
Discussion: https://postgr.es/m/CAHut+PsPu+47Q7b0o6h1r-qSt90U3zgbAHMHUag5o5E1Lo+=uw@mail.gmail.com
Backpatch-through: 15

Branch
------
REL_18_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/6acb670c2ace684178d9a6ab678be343e2923e6c

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


pgsql-committers by date:

Previous
From: Fujii Masao
Date:
Subject: pgsql: doc: Fix incorrect synopsis for ALTER PUBLICATION ... DROP ...
Next
From: Fujii Masao
Date:
Subject: pgsql: doc: Fix incorrect synopsis for ALTER PUBLICATION ... DROP ...