Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1couXi-0007Pi-BB for pgsql-committers@arkaria.postgresql.org; Fri, 17 Mar 2017 16:15:54 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1couXh-0006cn-UE for pgsql-committers@arkaria.postgresql.org; Fri, 17 Mar 2017 16:15:53 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1couXh-0006am-Ev for pgsql-committers@postgresql.org; Fri, 17 Mar 2017 16:15:53 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1couXe-0003c2-Fq for pgsql-committers@postgresql.org; Fri, 17 Mar 2017 16:15:52 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id v2HGFm8E012948; Fri, 17 Mar 2017 12:15:48 -0400 From: Tom Lane To: Robert Haas cc: pgsql-committers Subject: Re: pgsql: Rename "pg_clog" directory to "pg_xact". In-reply-to: References: <29494.1489759480@sss.pgh.pa.us> Comments: In-reply-to Robert Haas message dated "Fri, 17 Mar 2017 12:04:05 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <12946.1489767348.1@sss.pgh.pa.us> Date: Fri, 17 Mar 2017 12:15:48 -0400 Message-ID: <12947.1489767348@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-committers Precedence: bulk Sender: pgsql-committers-owner@postgresql.org Robert Haas writes: > On Fri, Mar 17, 2017 at 10:04 AM, Tom Lane wrote: >> There should probably have been a catversion bump in here. > I thought about it, but: > * The catalog version number is used to flag incompatible changes in > * the PostgreSQL system catalogs. Whenever anyone changes the format of > * a system catalog relation, or adds, deletes, or modifies standard > * catalog entries in such a way that an updated backend wouldn't work > * with an old database (or vice versa), the catalog version number > * should be changed. I think the key part of that is "an updated backend wouldn't work with an old database (or vice versa)", which is certainly true of this commit. In general, there ought to be a version bump somewhere anytime that a developer would have to re-initdb or pg_upgrade. In some cases you can bump the WAL page version or something else that's more specific to the change, but catversion is the fallback solution otherwise. > I see your point, of course, I'm just explaining why I didn't do it. Understood, but I think you're wrong. regards, tom lane -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers