Re: Triggers on system catalog
Robert Haas <robertmhaas@gmail.com>
From: Robert Haas <robertmhaas@gmail.com>
To: Stephen Frost <sfrost@snowman.net>
Cc: Christopher Browne <cbbrowne@gmail.com>, Shridhar Polas <shridharpolas@gmail.com>, "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2011-03-30T13:49:26Z
Lists: pgsql-hackers
On Tue, Mar 29, 2011 at 9:40 PM, Stephen Frost <sfrost@snowman.net> wrote: > * Robert Haas (robertmhaas@gmail.com) wrote: >> I do think we need some kind way of capturing DDL events, though. I wonder if the object-access-hook stuff KaiGai and I did to support SE-PostgreSQL could be extended to meet this need... > > My inclination would be 'probably', but it's not likely to really be the > way we'd want to provide generalized DDL triggers.. I guess I was imagining that DDL triggers would be primarily important for things like Slony, that are already writing C code anyway, but maybe that's overly optimistic... -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company