Tomas Vondra wrote:
> On 13.4.2013 15:01, Peter Eisentraut wrote:
> > long-term analysis? Maybe you could even use event triggers to have
> > DROP DATABASE do that automatically.
>
> I don't think event triggers are a good solution, although I'm wondering
> how that's supposed to work.
It doesn't, because event triggers do not support shared objects
(databases, tablespaces, roles).
--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services