From: Victor Spirin <v.spirin@postgrespro.ru>
To: pgsql-hackers@lists.postgresql.org
Subject: Re: psql tab-complete
Date: Fri, 25 Oct 2019 00:53:02 +0300
Message-ID: <9dec5038-548e-91f9-df14-8825f7aa7c5c@postgrespro.ru> (raw)
In-Reply-To: <11049.1571953711@sss.pgh.pa.us>
References: <8d4e41ab-f001-fe9c-d796-a7b584a3c7f6@2ndQuadrant.com>
<84e2eed6-63ec-b01e-2485-0f8e86da08df@postgrespro.ru>
<11049.1571953711@sss.pgh.pa.us>
Yes, I found, that VA_ARGS_NARGS(__ VA_ARGS__) macros always return 1 on
Windows.
Victor Spirin
Postgres Professional:http://www.postgrespro.com
The Russian Postgres Company
25.10.2019 0:48, Tom Lane пишет:
> Victor Spirin <v.spirin@postgrespro.ru> writes:
>> I found some problem with tab-complete in the 12 version. I checked
>> this in the Windows.
> This change seems to break the case intended by the comment,
> ie given the context
>
> SELECT * FROM tablename WHERE <tab>
>
> we want to offer the columns of "tablename" as completions.
>
> I'd be the first to agree that that's completely lame, as there
> are any number of related cases it fails to cover ... but this
> patch isn't making it better.
>
> regards, tom lane
>
>
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: v.spirin@postgrespro.ru
Subject: Re: psql tab-complete
In-Reply-To: <9dec5038-548e-91f9-df14-8825f7aa7c5c@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>
* 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