pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Fuhr <mike@fuhr.org>
To: Pradeep Sharma <pradeep.sharma@in2m.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Creation date of postgres database
Date: Thu, 30 Mar 2006 05:33:19 -0700
Message-ID: <20060330123319.GA19104@winnie.fuhr.org> (raw)
In-Reply-To: <20060330122712.GA17708@winnie.fuhr.org>
References: <Pine.LNX.4.63.0603301403050.6505@linux.site>
	<20060330110626.GA98684@winnie.fuhr.org>
	<Pine.LNX.4.63.0603301715350.13116@linux.site>
	<20060330122712.GA17708@winnie.fuhr.org>

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



view thread (6+ messages)  latest in thread

Message-ID: <20060330123319.GA19104@winnie.fuhr.org>
Permalink:  ../20060330123319.GA19104@winnie.fuhr.org/
Also on:    postgresql.org/message-id/20060330123319.GA19104@winnie.fuhr.org

 · 

reply

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: mike@fuhr.org, pradeep.sharma@in2m.com
  Subject: Re: Creation date of postgres database
  In-Reply-To: <20060330123319.GA19104@winnie.fuhr.org>
  References: <Pine.LNX.4.63.0603301403050.6505@linux.site> <20060330110626.GA98684@winnie.fuhr.org> <Pine.LNX.4.63.0603301715350.13116@linux.site> <20060330122712.GA17708@winnie.fuhr.org> <20060330123319.GA19104@winnie.fuhr.org>

* 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