Re: Triggers on system catalog
Stephen Frost <sfrost@snowman.net>
From: Stephen Frost <sfrost@snowman.net>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Christopher Browne <cbbrowne@gmail.com>, Shridhar Polas <shridharpolas@gmail.com>, "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2011-03-30T01:40:00Z
Lists: pgsql-hackers
* 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.. Perhaps we might flip it around and have the SE-PG things be called from a DDL-trigger system, but as it's a security-type check, I'm not hugely thrilled by that idea either. Thanks, Stephen