Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k72xP-0004on-KI for pgsql-committers@arkaria.postgresql.org; Sat, 15 Aug 2020 20:39:15 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1k72xM-0005nF-HZ for pgsql-committers@arkaria.postgresql.org; Sat, 15 Aug 2020 20:39:12 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k72xM-0005n8-CH for pgsql-committers@lists.postgresql.org; Sat, 15 Aug 2020 20:39:12 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k72xH-0001tz-JS for pgsql-committers@lists.postgresql.org; Sat, 15 Aug 2020 20:39:11 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 07FKd5NA921384; Sat, 15 Aug 2020 16:39:05 -0400 From: Tom Lane To: Noah Misch cc: pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Prevent concurrent SimpleLruTruncate() for any given SLRU. In-reply-to: References: Comments: In-reply-to Noah Misch message dated "Sat, 15 Aug 2020 17:20:14 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <921382.1597523945.1@sss.pgh.pa.us> Date: Sat, 15 Aug 2020 16:39:05 -0400 Message-ID: <921383.1597523945@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Noah Misch writes: > Prevent concurrent SimpleLruTruncate() for any given SLRU. I find it fairly scary that you've changed enum LockTagType in the back branches. Are we quite certain that no extensions have compiled-in values of that enum? Safer from an ABI standpoint would be to add the new value at the end, at least in the back branches. regards, tom lane