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
------
master

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

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