X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id CF09F11F662D for ; Thu, 30 Mar 2006 08:33:30 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 38286-08 for ; Thu, 30 Mar 2006 08:33:30 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from tigger.fuhr.org (tigger.fuhr.org [63.214.45.158]) by postgresql.org (Postfix) with ESMTP id AFCAD11F662B for ; Thu, 30 Mar 2006 08:33:28 -0400 (AST) Received: from winnie.fuhr.org (winnie.fuhr.org [10.1.0.1]) by tigger.fuhr.org (8.13.3/8.13.3) with ESMTP id k2UCXJee018423 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 30 Mar 2006 05:33:22 -0700 (MST) (envelope-from mfuhr@winnie.fuhr.org) Received: from winnie.fuhr.org (localhost [127.0.0.1]) by winnie.fuhr.org (8.13.4/8.13.4) with ESMTP id k2UCXJAE019262; Thu, 30 Mar 2006 05:33:19 -0700 (MST) (envelope-from mfuhr@winnie.fuhr.org) Received: (from mfuhr@localhost) by winnie.fuhr.org (8.13.4/8.13.4/Submit) id k2UCXJJe019261; Thu, 30 Mar 2006 05:33:19 -0700 (MST) (envelope-from mfuhr) Date: Thu, 30 Mar 2006 05:33:19 -0700 From: Michael Fuhr To: Pradeep Sharma Cc: pgsql-admin@postgresql.org Subject: Re: Creation date of postgres database Message-ID: <20060330123319.GA19104@winnie.fuhr.org> References: <20060330110626.GA98684@winnie.fuhr.org> <20060330122712.GA17708@winnie.fuhr.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060330122712.GA17708@winnie.fuhr.org> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.121 required=5 tests=[AWL=0.121] X-Spam-Score: 0.121 X-Spam-Level: X-Archive-Number: 200603/372 X-Sequence-Number: 21129 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