Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qa12L-00824Y-TL for pgsql-committers@arkaria.postgresql.org; Sat, 26 Aug 2023 21:41:41 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1qa12J-00DOd5-Qa for pgsql-committers@arkaria.postgresql.org; Sat, 26 Aug 2023 21:41:39 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qa12J-00DOcv-In for pgsql-committers@lists.postgresql.org; Sat, 26 Aug 2023 21:41:39 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qa12C-0017o5-7X for pgsql-committers@lists.postgresql.org; Sat, 26 Aug 2023 21:41:37 +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 37QLfRti209723; Sat, 26 Aug 2023 17:41:28 -0400 From: Tom Lane To: Alvaro Herrera cc: Andrew Dunstan , pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Cache by-reference missing values in a long lived context In-reply-to: <20230826162541.4cny4fb6z2cvpy4j@alvherre.pgsql> References: <20230826162541.4cny4fb6z2cvpy4j@alvherre.pgsql> Comments: In-reply-to Alvaro Herrera message dated "Sat, 26 Aug 2023 18:25:41 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <209721.1693086087.1@sss.pgh.pa.us> Date: Sat, 26 Aug 2023 17:41:27 -0400 Message-ID: <209722.1693086087@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Alvaro Herrera writes: > On 2023-Aug-25, Tom Lane wrote: >> ... Were we relying on "{ 0 }" >> anywhere else pre-v12? > We have a few occurrences of {0} in initializations in pg11, so it > should work. Ah, indeed. Objection withdrawn then. regards, tom lane