Re: Creation date of postgres database - Mailing list pgsql-admin

From Michael Fuhr
Subject Re: Creation date of postgres database
Date
Msg-id 20060330123319.GA19104@winnie.fuhr.org
Whole thread Raw
In response to Re: Creation date of postgres database  (Michael Fuhr <mike@fuhr.org>)
List pgsql-admin
On Thu, Mar 30, 2006 at 05:27:12AM -0700, Michael Fuhr wrote:
> Try a command like the following:
>
> % ls -lt $PGDATA/base/*/PG_VERSION
>
> You should see that each database has a copy of this file and that
> each file has a different modification time (some might be within
> a few seconds of each other if databases were created around the
> same time, such as during a restore).
>
> Is this not what you're looking for?

Are you looking for a creation time that would persist across
dump/drop/restore?  In that case I don't think it's available.

--
Michael Fuhr

pgsql-admin by date:

Previous
From: Michael Fuhr
Date:
Subject: Re: Creation date of postgres database
Next
From: Pradeep Sharma
Date:
Subject: Re: Creation date of postgres database