pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Nathan Bossart <nathan@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Disallow ONLY in REPACK commands.
Date: Sat, 29 Aug 2026 15:25:07 +0000
Message-ID: <E1x0Kva-00000002dzk-0xRn@gemulon.postgresql.org> (raw)

Disallow ONLY in REPACK commands.

The REPACK grammar accepts ONLY before the table name and * after
the table name, but that's neither documented nor handled in the
code.  Perhaps REPACK should support that syntax, but for now let's
just bring it in line with its documentation.

Oversight in commit ac58465e06.

Reviewed-by: Antonin Houska <ah@cybertec.at>
Discussion: https://postgr.es/m/apBTsWGwkLXVh8Ow%40nathan
Backpatch-through: 19

Branch
------
REL_19_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/f23de46e15ba3faf38a97915df29ae98a472a16b

Modified Files
--------------
src/backend/parser/gram.y | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)



view thread (2+ messages)

Message-ID: <E1x0Kva-00000002dzk-0xRn@gemulon.postgresql.org>
Permalink:  ../E1x0Kva-00000002dzk-0xRn@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1x0Kva-00000002dzk-0xRn@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: nathan@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Disallow ONLY in REPACK commands.
  In-Reply-To: <E1x0Kva-00000002dzk-0xRn@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