Re: Proposal: Store "timestamptz" of database creation on "pg_database"
Fabrízio de Royes Mello <fabriziomello@gmail.com>
From: Fabrízio de Royes Mello <fabriziomello@gmail.com>
To: Dimitri Fontaine <dimitri@2ndquadrant.fr>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, Stephen Frost <sfrost@snowman.net>, Josh Berkus <josh@agliodbs.com>, Pgsql Hackers <pgsql-hackers@postgresql.org>
Date: 2012-12-27T23:02:36Z
Lists: pgsql-hackers
On Thu, Dec 27, 2012 at 2:04 PM, Dimitri Fontaine <dimitri@2ndquadrant.fr> wrote: > > > Tom Lane <tgl@sss.pgh.pa.us> writes: > >>>> This proposal is about add a column "datcreated" on "pg_database" to store > >>>> the "timestamp" of the database creation. > > > > I'm inclined to think that anyone who really needs this should be > > pointed at event triggers. That feature (if it gets in) will allow > > people to track creation/DDL-change times with exactly the behavior > > they want. > > Agreed. > +1 > Maybe the best way to reconciliate both your views would be to provide > the previous example in the event trigger docs? > +1 If all of you agree I can improve the event trigger docs... Regards, -- Fabrízio de Royes Mello Consultoria/Coaching PostgreSQL >> Blog sobre TI: http://fabriziomello.blogspot.com >> Perfil Linkedin: http://br.linkedin.com/in/fabriziomello >> Twitter: http://twitter.com/fabriziomello