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

Fujii Masao <fujii@postgresql.org>

Commit: 74b26c8c290c81de00c134bf63e315a803f5c259
Author: Fujii Masao <fujii@postgresql.org>
Date: 2025-11-12T04:41:59Z
Releases: 15.16
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