pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Grammar object type refactoring
Date: Sat, 13 Jun 2020 07:22:13 +0000
Message-ID: <E1jk0UX-00075p-K4@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1jk0UX-00075p-K4@gemulon.postgresql.org>
Permalink:  ../E1jk0UX-00075p-K4@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1jk0UX-00075p-K4@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: peter@eisentraut.org
  Subject: Re: pgsql: Grammar object type refactoring
  In-Reply-To: <E1jk0UX-00075p-K4@gemulon.postgresql.org>
  References: <E1jk0UX-00075p-K4@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