pgsql: Refactor grammar to create opt_utility_option_list

From: Álvaro Herrera <alvherre(at)kurilemu(dot)de>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Refactor grammar to create opt_utility_option_list
Date: 2025-07-25 10:09:27
Message-ID: E1ufFMk-000emS-2R@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Refactor grammar to create opt_utility_option_list

This changes the grammar for REINDEX, CHECKPOINT, CLUSTER, ANALYZE/ANALYSE;
they still accept the same options as before, but the grammar is written
differently for convenience of future development.

Reviewed-by: Nathan Bossart <nathandbossart(at)gmail(dot)com>
Discussion: https://postgr.es/m/202507231538.ir7pjzoow6oe@alvherre.pgsql

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/1dfe3ef3f960d6924eb1f18facf4fbdae6e1cc1d

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

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2025-07-25 14:57:04 pgsql: Fix dynahash's HASH_FIXED_SIZE ("isfixed") option.
Previous Message Fujii Masao 2025-07-25 09:41:34 pgsql: Fix background worker not restarting after crash-and-restart cyc