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 1og5F8-0001MT-Aj for pgsql-hackers@arkaria.postgresql.org; Wed, 05 Oct 2022 14:19:26 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1og5F7-0001I2-6z for pgsql-hackers@arkaria.postgresql.org; Wed, 05 Oct 2022 14:19:25 +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 1og5F6-0001Hr-UI for pgsql-hackers@lists.postgresql.org; Wed, 05 Oct 2022 14:19:24 +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 1og5F4-0000AH-Ll; Wed, 05 Oct 2022 14:19:23 +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 295EJLAM2321228; Wed, 5 Oct 2022 10:19:21 -0400 From: Tom Lane To: David Rowley cc: Justin Pryzby , pgsql-hackers@postgresql.org, Tomas Vondra , Peter Smith Subject: Re: shadow variables - pg15 edition In-reply-to: References: <20220819042816.GU26426@telsasoft.com> <20220823011659.GF2342@telsasoft.com> <20220823021412.GG2342@telsasoft.com> <20220824023944.GM2342@telsasoft.com> <20220830054441.GF31833@telsasoft.com> <20221004023012.GT7745@telsasoft.com> Comments: In-reply-to David Rowley message dated "Wed, 05 Oct 2022 23:22:33 +1300" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2321226.1664979561.1@sss.pgh.pa.us> Date: Wed, 05 Oct 2022 10:19:21 -0400 Message-ID: <2321227.1664979561@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk David Rowley writes: > I've attached a draft patch for a method I was considering to fix the > warnings we're getting from the nested PG_TRY() statement in > utility.c. +1 > The only warning remaining after applying the attached is the "now" > warning in pgbench.c:7509. I'd considered changing this to "thenow" > which translates to "right now" in the part of Scotland that I'm from. > I also considered "nownow", which is used in South Africa [1]. > Anyway, I'm not really being serious, but I didn't come up with > anything better than "now2". Yeah, "now2" seems as reasonable as anything. regards, tom lane