Re: Proposal: Store "timestamptz" of database creation on "pg_database"
Josh Berkus <josh@agliodbs.com>
From: Josh Berkus <josh@agliodbs.com>
To: fabriziomello@gmail.com
Cc: Dimitri Fontaine <dimitri@2ndquadrant.fr>, Stephen Frost <sfrost@snowman.net>, Tom Lane <tgl@sss.pgh.pa.us>, Pgsql Hackers <pgsql-hackers@postgresql.org>
Date: 2012-12-28T18:53:05Z
Lists: pgsql-hackers
On 12/28/12 4:05 AM, Fabrízio de Royes Mello wrote: > Hi all, > > And about proposal that originated this thread... I proposed only to add a > column on shared catalog "pg_database" with timestamp of its creation. > > Event triggers don't cover "CREATE DATABASE" statement. Works for me, in that case. You'd need something a lot more mature than checking the file timestamp on PG_VERSION, though. -- Josh Berkus PostgreSQL Experts Inc. http://pgexperts.com