X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 6C92C5293B for ; Wed, 20 Jul 2005 12:59:54 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 03867-09 for ; Wed, 20 Jul 2005 15:59:44 +0000 (GMT) Received: from flake.decibel.org (flake.decibel.org [67.100.216.10]) by svr1.postgresql.org (Postfix) with ESMTP id CD00852A24 for ; Wed, 20 Jul 2005 12:59:34 -0300 (ADT) Received: by flake.decibel.org (Postfix, from userid 1001) id 846E31523B; Wed, 20 Jul 2005 10:59:34 -0500 (CDT) Date: Wed, 20 Jul 2005 10:59:34 -0500 From: "Jim C. Nasby" To: Tom Lane Cc: Dario , Hannes Dorbath , pgsql-admin@postgresql.org Subject: Re: Determine PG version used for initdb Message-ID: <20050720155934.GS10127@decibel.org> References: <15725.1121868322@sss.pgh.pa.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <15725.1121868322@sss.pgh.pa.us> X-Operating-System: FreeBSD 4.11-RELEASE-p10 i386 X-Distributed: Join the Effort! http://www.distributed.net User-Agent: Mutt/1.5.9i X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.004 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200507/163 X-Sequence-Number: 18219 On Wed, Jul 20, 2005 at 10:05:22AM -0400, Tom Lane wrote: > > That tells the server version running, but does it tell the initdb > > binary version used to init the cluster? > > Normally there's not any difference between dot-release initdb's. > In this case there is; read the 8.0.3 release notes: > http://developer.postgresql.org/docs/postgres/release.html#RELEASE-8-0-3 > You could determine which was used by looking at the declared arguments > of the conversion functions. Hrm. Is there no definative way to determine what version of initdb was used on a cluster? ISTM that would be a useful feature to have. -- Jim C. Nasby, Database Consultant decibel@decibel.org Give your computer some brain candy! www.distributed.net Team #1828 Windows: "Where do you want to go today?" Linux: "Where do you want to go tomorrow?" FreeBSD: "Are you guys coming, or what?"