pgsql: Grammar object type refactoring

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Grammar object type refactoring
Date: 2020-06-13 07:22:13
Message-ID: E1jk0UX-00075p-K4@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Grammar object type refactoring

Unify the grammar of COMMENT, DROP, and SECURITY LABEL further. They
all effectively just take an object address for later processing, so
we can make the grammar more generalized. Some extra checking about
which object types are supported can be done later in the statement
execution.

Discussion: https://www.postgresql.org/message-id/flat/163c00a5-f634-ca52-fc7c-0e53deda8735%402ndquadrant.com

Branch
------
master

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

Modified Files
--------------
src/backend/commands/seclabel.c | 74 ++++++++++++++++++
src/backend/parser/gram.y | 162 ++++++++++++----------------------------
2 files changed, 122 insertions(+), 114 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Geoghegan 2020-06-13 16:33:57 pgsql: Silence _bt_check_unique compiler warning.
Previous Message Michael Paquier 2020-06-13 05:05:19 pgsql: Create by default sql/ and expected/ for output directory in pg_