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@postgresql.org
Subject: pgsql: Support default ACLs in get_object_address
Date: Wed, 11 Mar 2015 22:24:29 +0000
Message-ID: <E1YVp3F-0002Rn-DN@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

Support default ACLs in get_object_address

In the spirit of 890192e99af, this time add support for the things
living in the pg_default_acl catalog.  These are not really "objects",
but they show up as such in event triggers.

There is no "DROP DEFAULT PRIVILEGES" or similar command, so it doesn't
look like the new representation given would be useful anywhere else, so
I didn't try to use it outside objectaddress.c.  (That might be a bug in
itself, but that would be material for another commit.)

Reviewed by Stephen Frost.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/4464303405f1f886d63f8316386621cd7436c5d6

Modified Files
--------------
src/backend/catalog/objectaddress.c          |  137 ++++++++++++++++++++++++--
src/backend/commands/event_trigger.c         |    1 +
src/include/nodes/parsenodes.h               |    1 +
src/test/regress/expected/event_trigger.out  |    4 +
src/test/regress/expected/object_address.out |   17 +++-
src/test/regress/sql/event_trigger.sql       |    2 +
src/test/regress/sql/object_address.sql      |    7 +-
7 files changed, 158 insertions(+), 11 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


Message-ID: <E1YVp3F-0002Rn-DN@gemulon.postgresql.org>
Permalink:  ../E1YVp3F-0002Rn-DN@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1YVp3F-0002Rn-DN@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: Support default ACLs in get_object_address
  In-Reply-To: <E1YVp3F-0002Rn-DN@gemulon.postgresql.org>
  References: <E1YVp3F-0002Rn-DN@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