Re: COPY (... tab completion - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: COPY (... tab completion
Date
Msg-id CAB7nPqSDfnsfYo1CwUAkmpOs3-rpoUCx9SWQsRXfLGhvwZr9YQ@mail.gmail.com
Whole thread Raw
In response to Re: COPY (... tab completion  (Andreas Karlsson <andreas@proxel.se>)
Responses Re: COPY (... tab completion  (Andreas Karlsson <andreas@proxel.se>)
List pgsql-hackers
On Tue, Jan 19, 2016 at 10:12 AM, Andreas Karlsson <andreas@proxel.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



pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: jsonb array-style subscription
Next
From: Tomas Vondra
Date:
Subject: Re: silent data loss with ext4 / all current versions