Re: psql tab-complete

Tom Lane <tgl@sss.pgh.pa.us>

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

			regards, tom lane



Commits

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