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

Fujii Masao <fujii@postgresql.org>

Commit: 807df4918622c9f7480fdb9d6539301f609e4769
Author: Fujii Masao <fujii@postgresql.org>
Date: 2025-11-12T04:40:43Z
Releases: 16.12
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

Files

PathChange+/−
doc/src/sgml/ref/alter_publication.sgml modified +7 −3

Documentation touched

Discussion