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: pg_event_trigger_dropped_objects: Add name/args output columns
Date: Tue, 30 Dec 2014 20:43:06 +0000
Message-ID: <E1Y63dC-00036r-BX@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

pg_event_trigger_dropped_objects: Add name/args output columns

These columns can be passed to pg_get_object_address() and used to
reconstruct the dropped objects identities in a remote server containing
similar objects, so that the drop can be replicated.

Reviewed by Stephen Frost, Heikki Linnakangas, Abhijit Menon-Sen, Andres
Freund.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/72dd233d3ef12da0f041bb3024deaa6d2950369c

Modified Files
--------------
doc/src/sgml/func.sgml                      |   18 +++++++++++++++++
src/backend/commands/event_trigger.c        |   29 ++++++++++++++++++++++-----
src/include/catalog/pg_proc.h               |    3 ++-
src/test/regress/expected/event_trigger.out |   25 ++++++++++++-----------
src/test/regress/sql/event_trigger.sql      |    5 +++--
5 files changed, 60 insertions(+), 20 deletions(-)


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


view thread (7+ messages)  latest in thread

Message-ID: <E1Y63dC-00036r-BX@gemulon.postgresql.org>
Permalink:  ../E1Y63dC-00036r-BX@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1Y63dC-00036r-BX@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: pg_event_trigger_dropped_objects: Add name/args output columns
  In-Reply-To: <E1Y63dC-00036r-BX@gemulon.postgresql.org>
  References: <E1Y63dC-00036r-BX@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