pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Fujii Masao <fujii@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: doc: Fix incorrect synopsis for ALTER PUBLICATION ... DROP ...
Date: Wed, 12 Nov 2025 04:46:02 +0000
Message-ID: <E1vJ2k6-006B3C-0A@gemulon.postgresql.org> (raw)

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

Branch
------
REL_18_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/6acb670c2ace684178d9a6ab678be343e2923e6c

Modified Files
--------------
doc/src/sgml/ref/alter_publication.sgml | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)



view thread (5+ messages)  latest in thread

Message-ID: <E1vJ2k6-006B3C-0A@gemulon.postgresql.org>
Permalink:  ../E1vJ2k6-006B3C-0A@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1vJ2k6-006B3C-0A@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: fujii@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: doc: Fix incorrect synopsis for ALTER PUBLICATION ... DROP ...
  In-Reply-To: <E1vJ2k6-006B3C-0A@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox