doc: Fix incorrect synopsis for ALTER PUBLICATION ... DROP ...
authorFujii Masao <[email protected]>
Wed, 12 Nov 2025 04:37:58 +0000 (13:37 +0900)
committerFujii Masao <[email protected]>
Wed, 12 Nov 2025 04:40:04 +0000 (13:40 +0900)
commit6acb670c2ace684178d9a6ab678be343e2923e6c
treeaa52f69e262c42d1a3a376e76b6ecae7da2e5dd7
parent84e826567cb862e062593280fb13b7fe5d857f0c
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