pgsql: parser: centralize common auxiliary productions - Mailing list pgsql-committers

From Alvaro Herrera
Subject pgsql: parser: centralize common auxiliary productions
Date
Msg-id E1oEqdQ-000ir8-JX@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Thomas Munro
Date:
Subject: pgsql: Remove unnecessary Windows-specific basebackup code.
Next
From: Tom Lane
Date:
Subject: pgsql: Fix minor memory leaks in psql's tab completion.