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 2720552892 for ; Wed, 20 Jul 2005 11:05:23 -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 78766-08 for ; Wed, 20 Jul 2005 14:05:20 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id B48235288B for ; Wed, 20 Jul 2005 11:05:18 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id j6KE5Mif015726; Wed, 20 Jul 2005 10:05:22 -0400 (EDT) To: "Dario" Cc: "Hannes Dorbath" , pgsql-admin@postgresql.org Subject: Re: Determine PG version used for initdb In-reply-to: References: Comments: In-reply-to "Dario" message dated "Wed, 20 Jul 2005 10:55:23 -0300" Date: Wed, 20 Jul 2005 10:05:22 -0400 Message-ID: <15725.1121868322@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.006 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200507/157 X-Sequence-Number: 18213 > 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. regards, tom lane