Re: Creation date of postgres database

From: Michael Fuhr <mike(at)fuhr(dot)org>
To: Pradeep Sharma <pradeep(dot)sharma(at)in2m(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Creation date of postgres database
Date: 2006-03-30 12:33:19
Message-ID: 20060330123319.GA19104@winnie.fuhr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Pradeep Sharma 2006-03-30 13:56:29 Re: Creation date of postgres database
Previous Message Michael Fuhr 2006-03-30 12:27:12 Re: Creation date of postgres database