pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: Victor Spirin <v.spirin@postgrespro.ru>
Cc: pgsql-hackers@lists.postgresql.org
Subject: Re: psql tab-complete
Date: Sat, 26 Oct 2019 12:59:30 +0900
Message-ID: <20191026035930.GD2084@paquier.xyz> (raw)
In-Reply-To: <f450fc57-a147-19d0-e50c-33571c52cc13@postgrespro.ru>
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>
	<f450fc57-a147-19d0-e50c-33571c52cc13@postgrespro.ru>

On Fri, Oct 25, 2019 at 11:57:18AM +0300, Victor Spirin wrote:
> This patch resolved one problem in the tab-complete.c on MSVC. The
> VA_ARGS_NARGS macros now work correctly on Windows.

Can you explain why and in what the use of EXPAND() helps with MSVC
builds?  Any references which help to understand why this is better?
If this change is needed, this also surely needs a comment to explain
the difference.
--
Michael

Attachments:

  signature.asc (application/pgp-signature, 832B) download

view thread (10+ messages)  latest in thread

Message-ID: <20191026035930.GD2084@paquier.xyz>
Permalink:  ../20191026035930.GD2084@paquier.xyz/
Also on:    postgresql.org/message-id/20191026035930.GD2084@paquier.xyz

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers@postgresql.org
  Cc: michael@paquier.xyz, v.spirin@postgrespro.ru
  Subject: Re: psql tab-complete
  In-Reply-To: <20191026035930.GD2084@paquier.xyz>
  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> <f450fc57-a147-19d0-e50c-33571c52cc13@postgrespro.ru> <20191026035930.GD2084@paquier.xyz>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox