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

Fujii Masao <fujii@postgresql.org>

Commit: df53fa1c1ebf9bb3e8c17217f7cc1435107067fb
Author: Fujii Masao <fujii@postgresql.org>
Date: 2025-11-12T04:37:58Z
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

Discussion