X-Original-To: pgsql-admin-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 491519FB3DE for ; Fri, 22 Sep 2006 13:27:00 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 91102-01-2 for ; Fri, 22 Sep 2006 13:26:55 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from noel.decibel.org (noel.decibel.org [67.100.216.10]) by postgresql.org (Postfix) with ESMTP id 1CE729FB3E7 for ; Fri, 22 Sep 2006 13:18:00 -0300 (ADT) Received: by noel.decibel.org (Postfix, from userid 1001) id F16B156437; Fri, 22 Sep 2006 11:17:59 -0500 (CDT) Received: (hashcash-sendmail, from uid 1001); Fri, 22 Sep 2006 11:17:59 -0500 Date: Fri, 22 Sep 2006 11:17:59 -0500 From: "Jim C. Nasby" To: Tom Lane Cc: Jessica Richard , pgsql-admin@postgresql.org Subject: Re: how to check the creation date of a postgres database? Message-ID: <20060922161759.GE28987@nasby.net> References: <20060920154509.76447.qmail@web58313.mail.re3.yahoo.com> <82178199-AF56-40A5-AC20-74DF30213622@nasby.net> <26305.1158935455@sss.pgh.pa.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <26305.1158935455@sss.pgh.pa.us> X-Operating-System: FreeBSD 6.0-RELEASE-p4 amd64 X-Distributed: Join the Effort! http://www.distributed.net User-Agent: Mutt/1.5.11 X-Hashcash: 1:20:060922:tgl@sss.pgh.pa.us::tlsxQyZkBNTqNZyY:00000000000000000000 0000000000000000000000002YA5 X-Hashcash: 1:20:060922:rjessil@yahoo.com::Ar4PRsdgjSmnE4Iy:00000000000000000000 0000000000000000000000000kaA X-Hashcash: 1:20:060922:pgsql-admin@postgresql.org::POXh9s+UqYpeZAkN:00000000000 0000000000000000000000005vAi X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.038 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200609/243 X-Sequence-Number: 23157 On Fri, Sep 22, 2006 at 10:30:55AM -0400, Tom Lane wrote: > Jim Nasby writes: > > On Sep 20, 2006, at 11:45 AM, Jessica Richard wrote: > >> I would like to know when each of my databases were created. > > > You're not the first person to ask for this, but it's still pretty > > unclear what the use-case for that info is (and without a decent use- > > case, it's pretty unlikely that this info will get stored). > > If we did store it, it would presumably reflect the time of issuance of > CREATE DATABASE, which would mean it wouldn't survive a dump and reload > anyway (as the OP seems to be wishing for). Well, that case could be handled as well, it's just a SMOC. But as I mentioned, it's unlikely an existing developer will get excited about any of this. -- Jim Nasby jim@nasby.net EnterpriseDB http://enterprisedb.com 512.569.9461 (cell)