From: Andy Shellam (Mailing Lists) <andy.shellam-lists@mailnetwork.co.uk>
To: Negandhi, Nishith <Nishith.Negandhi@infoUSA.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Database Create Date
Date: Tue, 09 Jan 2007 15:36:31 +0000
Message-ID: <45A3B67F.30209@mailnetwork.co.uk> (raw)
In-Reply-To: <FE0C41EEBEF01C47BF3A91F606694468047BA9FE@PUNISHER.intra.infousa.com>
References: <FE0C41EEBEF01C47BF3A91F606694468047BA9FE@PUNISHER.intra.infousa.com>
Negandhi, Nishith wrote:
> Hi,
> I need to know the create date of databases on PosegreSQL.
> PG_DATABASE does not provide this information.
> Are there any other system catalogs that can provide the above
> information??
>
> Thanks
> !DSPAM:37,45a3b385137101969839670!
I'm sure there is (not known to me atm), but for a quick shot you could
find the DB's "OID" from pg_database and look at the create date of "<pg
data dir>/base/<db oid>"
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: andy.shellam-lists@mailnetwork.co.uk, Nishith.Negandhi@infoUSA.com
Subject: Re: Database Create Date
In-Reply-To: <45A3B67F.30209@mailnetwork.co.uk>
References: <FE0C41EEBEF01C47BF3A91F606694468047BA9FE@PUNISHER.intra.infousa.com> <45A3B67F.30209@mailnetwork.co.uk>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox