pgsql: Disallow ONLY in REPACK commands.

Started by Nathan Bossart3 months ago1 messagescommitters
Jump to latest
#1Nathan Bossart
nathan@postgresql.org

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: /messages/by-id/apBTsWGwkLXVh8Ow@nathan
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(-)