Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1j0EY3-00030R-Js for pgsql-committers@arkaria.postgresql.org; Sat, 08 Feb 2020 01:04:39 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1j0EY2-00065A-Cd for pgsql-committers@arkaria.postgresql.org; Sat, 08 Feb 2020 01:04:38 +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_SHA1:256) (Exim 4.89) (envelope-from ) id 1j0EY2-00063x-5I for pgsql-committers@lists.postgresql.org; Sat, 08 Feb 2020 01:04:38 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1j0EXz-00042f-H9; Sat, 08 Feb 2020 01:04:37 +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 01814Udv024555; Fri, 7 Feb 2020 20:04:30 -0500 From: Tom Lane To: Fujii Masao cc: Fujii Masao , pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Fix bug in Tid scan. In-reply-to: References: <5261.1581103527@sss.pgh.pa.us> Comments: In-reply-to Fujii Masao message dated "Sat, 08 Feb 2020 09:35:10 +0900" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <24553.1581123870.1@sss.pgh.pa.us> Date: Fri, 07 Feb 2020 20:04:30 -0500 Message-ID: <24554.1581123870@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Fujii Masao writes: > On Sat, Feb 8, 2020 at 4:25 AM Tom Lane wrote: >> AFAICS, this patch has caused an ABI break in v12. Do we really >> believe that no extension references the values of the ScanOptions >> enum? > Yes, you are right. Some extensions may depend on it. > It's better not to add new ScanOption not to break ABI. I think it's okay to add a new value of ScanOption; what you can't do is change the codes assigned to the existing values. So I'd just revert those code changes and give SO_TYPE_TIDSCAN a value that's out-of-order. regards, tom lane