pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: parser: centralize common auxiliary productions
Date: Fri, 22 Jul 2022 11:15:57 +0000
Message-ID: <E1oEqdQ-000ir8-JX@gemulon.postgresql.org> (raw)

parser: centralize common auxiliary productions

Things like "opt_name" can well be shared by various commands rather
than there being multiple definitions of the same thing.  Rename these
productions and move them to appear together in gram.y, which may
improve chances of reuse in the future.

Discussion: https://postgr.es/m/20220721174212.cmitjpuimx6ssyyj@alvherre.pgsql

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/7d158e8cb44b602ab76a3660b9f5f5c5c5992a1f

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



Message-ID: <E1oEqdQ-000ir8-JX@gemulon.postgresql.org>
Permalink:  ../E1oEqdQ-000ir8-JX@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1oEqdQ-000ir8-JX@gemulon.postgresql.org

 · 

reply

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: alvherre@alvh.no-ip.org
  Subject: Re: pgsql: parser: centralize common auxiliary productions
  In-Reply-To: <E1oEqdQ-000ir8-JX@gemulon.postgresql.org>
  References: <E1oEqdQ-000ir8-JX@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