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 1p880S-0005nt-6h for pgsql-hackers@arkaria.postgresql.org; Wed, 21 Dec 2022 22:56:12 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1p880R-0007wo-2O for pgsql-hackers@arkaria.postgresql.org; Wed, 21 Dec 2022 22:56:11 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1p880Q-0007uA-Pl for pgsql-hackers@lists.postgresql.org; Wed, 21 Dec 2022 22:56:10 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1p880O-00054C-QX for pgsql-hackers@lists.postgresql.org; Wed, 21 Dec 2022 22:56:10 +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 2BLMu5KP1738277; Wed, 21 Dec 2022 17:56:05 -0500 From: Tom Lane To: Thomas Munro cc: Michael Paquier , Victor Spirin , pgsql-hackers@lists.postgresql.org Subject: Re: psql tab-complete In-reply-to: References: <8d4e41ab-f001-fe9c-d796-a7b584a3c7f6@2ndQuadrant.com> <84e2eed6-63ec-b01e-2485-0f8e86da08df@postgrespro.ru> <11049.1571953711@sss.pgh.pa.us> <9dec5038-548e-91f9-df14-8825f7aa7c5c@postgrespro.ru> <20191026035930.GD2084@paquier.xyz> Comments: In-reply-to Thomas Munro message dated "Thu, 22 Dec 2022 11:41:08 +1300" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1738275.1671663365.1@sss.pgh.pa.us> Date: Wed, 21 Dec 2022 17:56:05 -0500 Message-ID: <1738276.1671663365@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Thomas Munro writes: > Since I really want to be able to use VA_ARGS_NARGS() elsewhere, +1, that'd be handy. > ... Assuming those switches actually work as claimed, I see > two choices: commit this hack with a comment reminding us to clean it > up later, or drop 2015. As long as we can hide the messiness inside a macro definition, I'd vote for the former. regards, tom lane