pgsql: Disallow ONLY in REPACK commands.

From: Nathan Bossart <nathan(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Disallow ONLY in REPACK commands.
Date: 2026-08-29 15:25:07
Message-ID: E1x0Kva-00000002dzi-0tkI@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(at)cybertec(dot)at>
Discussion: https://postgr.es/m/apBTsWGwkLXVh8Ow%40nathan
Backpatch-through: 19

Branch
------
master

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

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

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2026-08-30 00:12:07 pgsql: Harden spell.c against out-of-order FLAG lines in Hunspell files
Previous Message Daniel Gustafsson 2026-08-28 21:35:25 pgsql: Propagate rebalanced cost limit to parallel vacuum workers