Re: Database Create Date

From: "Negandhi, Nishith" <Nishith(dot)Negandhi(at)infoUSA(dot)com>
To: "Andy Shellam \(Mailing Lists\)" <andy(dot)shellam-lists(at)mailnetwork(dot)co(dot)uk>
Cc: <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Database Create Date
Date: 2007-01-09 15:46:41
Message-ID: FE0C41EEBEF01C47BF3A91F606694468047BAA12@PUNISHER.intra.infousa.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Well..thats one way, however I only hv access to the web interface (i.e.
phpAdmin).

-----Original Message-----
From: Andy Shellam (Mailing Lists)
[mailto:andy(dot)shellam-lists(at)mailnetwork(dot)co(dot)uk]
Sent: Tuesday, January 09, 2007 9:37 AM
To: Negandhi, Nishith
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: [ADMIN] Database Create Date

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>"

Browse pgsql-admin by date

  From Date Subject
Next Message Achilleas Mantzios 2007-01-09 16:04:13 Re: Database Create Date
Previous Message Andy Shellam (Mailing Lists) 2007-01-09 15:36:31 Re: Database Create Date