doc: Fix incorrect synopsis for ALTER PUBLICATION ... DROP ...
authorFujii Masao <[email protected]>
Wed, 12 Nov 2025 04:41:59 +0000 (13:41 +0900)
committerFujii Masao <[email protected]>
Wed, 12 Nov 2025 04:41:59 +0000 (13:41 +0900)
commit74b26c8c290c81de00c134bf63e315a803f5c259
tree213d660c0ca5f69ef41c86bc4572abf7e11b06f8
parent32f38816779420502d4a311835d5fe939e9548a0
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 <[email protected]>
Reviewed-by: Fujii Masao <[email protected]>
Discussion: https://postgr.es/m/CAHut+PsPu+47Q7b0o6h1r-qSt90U3zgbAHMHUag5o5E1Lo+=uw@mail.gmail.com
Backpatch-through: 15
doc/src/sgml/ref/alter_publication.sgml