From: | Michael Paquier <michael(dot)paquier(at)gmail(dot)com> |
---|---|
To: | Andreas Karlsson <andreas(at)proxel(dot)se> |
Cc: | Peter Eisentraut <peter_e(at)gmx(dot)net>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: COPY (... tab completion |
Date: | 2016-01-19 06:55:11 |
Message-ID: | CAB7nPqSDfnsfYo1CwUAkmpOs3-rpoUCx9SWQsRXfLGhvwZr9YQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Tue, Jan 19, 2016 at 10:12 AM, Andreas Karlsson <andreas(at)proxel(dot)se> wrote:
> On 01/19/2016 01:57 AM, Andreas Karlsson wrote:
>>
>> Thanks for the review. A new version is attached.
>
>
> Whops, attached the wrong file.
+ /* If we have COPY BINARY, compelete with list of tables */
s/compelete/complete
+ else if (TailMatches2("COPY|\\copy", "("))
+ COMPLETE_WITH_LIST7("SELECT", "TABLE", "VALUES", "INSERT",
"UPDATE", "DELETE", "WITH");
This one should be Matches, no?
--
Michael
From | Date | Subject | |
---|---|---|---|
Next Message | Tomas Vondra | 2016-01-19 06:58:00 | Re: silent data loss with ext4 / all current versions |
Previous Message | Michael Paquier | 2016-01-19 06:51:02 | Re: jsonb array-style subscription |