Re: Triggers on system catalog
Jim C. Nasby <jim@nasby.net>
From: Jim Nasby <jim@nasby.net>
To: Jan Wieck <JanWieck@Yahoo.com>
Cc: Robert Haas <robertmhaas@gmail.com>, Stephen Frost <sfrost@snowman.net>, Christopher Browne <cbbrowne@gmail.com>, Shridhar Polas <shridharpolas@gmail.com>, "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2011-04-06T14:54:59Z
Lists: pgsql-hackers
On Mar 30, 2011, at 3:45 PM, Jan Wieck wrote: > What I would envision for DDL triggers is that they first don't fire on an object type, but rather on a command completion code, like "CREATE TABLE" or "DROP SCHEMA". > > To do anything useful with that of course would require that all DDL does go through tcop's ProcessUtility and actually synthesizes a proper Utility parsetree. That isn't the case today, so there would be some previous clean up work to be done. For those that missed my announcement at PG East; we're willing to sponsor some/all of this work (depending on how much money we're talking). -- Jim C. Nasby, Database Architect jim@nasby.net 512.569.9461 (cell) http://jim.nasby.net