Re: psql tab-complete

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Thomas Munro <thomas.munro@gmail.com>, Victor Spirin <v.spirin@postgrespro.ru>, pgsql-hackers@lists.postgresql.org
Date: 2022-12-22T02:25:03Z
Lists: pgsql-hackers
On Wed, Dec 21, 2022 at 05:56:05PM -0500, Tom Lane wrote:
> Thomas Munro <thomas.munro@gmail.com> 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.

Agreed, even if it is worth noting that all the buildfarm members
with MSVC use 2017 or newer.
--
Michael

Commits

  1. Add work-around for VA_ARGS_NARGS() on MSVC.