Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bOBMr-0000KJ-53 for pgsql-hackers@arkaria.postgresql.org; Fri, 15 Jul 2016 22:13:57 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bOBMq-0003J0-OU for pgsql-hackers@arkaria.postgresql.org; Fri, 15 Jul 2016 22:13:56 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bOBIi-0002VK-Fh for pgsql-hackers@postgreSQL.org; Fri, 15 Jul 2016 22:09:40 +0000 Received: from linode.thelabyrinth.net ([198.58.117.137] helo=mail.thelabyrinth.net) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bOBIf-0002Ev-QC for pgsql-hackers@postgreSQL.org; Fri, 15 Jul 2016 22:09:39 +0000 Received: from desktop.home.thelabyrinth.net (unknown [98.204.177.190]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: dsteele) by mail.thelabyrinth.net (Postfix) with ESMTPSA id 741AF12CF9; Fri, 15 Jul 2016 22:09:36 +0000 (UTC) Subject: Re: Version number for pg_control To: Alvaro Herrera , Tom Lane References: <20160715214718.GA165879@alvherre.pgsql> Cc: pgsql-hackers@postgreSQL.org From: David Steele Message-ID: <110f893d-2eda-0c86-ca37-7f1d041be1d1@pgmasters.net> Date: Fri, 15 Jul 2016 18:09:35 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <20160715214718.GA165879@alvherre.pgsql> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org On 7/15/16 5:47 PM, Alvaro Herrera wrote: > Tom Lane wrote: >> While researching a pgsql-general question, I noticed that commit >> 73c986adde5d73a5e2555da9b5c8facedb146dcd added several new fields >> to pg_control without bothering to touch PG_CONTROL_VERSION. Thus, >> PG_CONTROL_VERSION is still "942" even though the file contents >> are not at all compatible with 9.4. > > Oh crap :-( > >> It's way too late to do anything about this in 9.5. I wonder though >> if we should advance PG_CONTROL_VERSION now, presumably to "960", >> so that at least as of 9.6 the format is correctly distinguished >> from the 9.4-era format. Or will that just make things even more >> confusing, given that 9.5 is what it is? > > I can't quite make up my mind about it. It seems pointless to change > it now, but at the same time it seems wrong to let it continue to be > unchanged from 9.4. > > I slightly lean towards changing it in 9.6. +1 for changing it. However, I don't think it's such a big deal since each version since 8.3 (at least) has had a unique catalog version. Maybe this would affect pg_controldata or other supporting utilities but the server itself should not be affected since it also checks the catalog version. -- -David david@pgmasters.net -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers