From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Refactor parsing rules for option lists of EXPLAIN, VACUUM and A
Date: Mon, 30 Nov 2020 11:29:17 +0000
Message-ID: <E1kjhMr-0001Ap-KX@gemulon.postgresql.org> (raw)
Refactor parsing rules for option lists of EXPLAIN, VACUUM and ANALYZE
Those three commands have been using the same grammar rules to handle a
a list of parenthesized options. This refactors the code so as they use
the same parsing rules, shaving some code. A future commit will make
use of those option parsing rules for more utility commands, like
REINDEX and CLUSTER.
Author: Alexey Kondratov, Justin Pryzby
Discussion: https://postgr.es/m/8a8f5f73-00d3-55f8-7583-1375ca8f6a91@postgrespro.ru
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/873ea9ee692e7829614f913685db540b17998ba6
Modified Files
--------------
src/backend/parser/gram.y | 61 +++++++++++------------------------------------
1 file changed, 14 insertions(+), 47 deletions(-)
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: michael@paquier.xyz
Subject: Re: pgsql: Refactor parsing rules for option lists of EXPLAIN, VACUUM and A
In-Reply-To: <E1kjhMr-0001Ap-KX@gemulon.postgresql.org>
References: <E1kjhMr-0001Ap-KX@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