Re: tab_complete for copy(merge - Mailing list pgsql-hackers

From Kirill Reshke
Subject Re: tab_complete for copy(merge
Date
Msg-id CALdSSPioy0Khz+1imEFoYiUxPqCqsaQMP0Cbi8=QYY_6ef82Hg@mail.gmail.com
Whole thread Raw
In response to tab_complete for copy(merge  (jian he <jian.universality@gmail.com>)
Responses Re: tab_complete for copy(merge
List pgsql-hackers

Hi!

On Tue, 19 Nov 2024, 14:08 jian he, <jian.universality@gmail.com> wrote:
hi.

in v17, we support COPY(MERGE RETURNING)
we can add tab_complete for it.

Sounds sane 
    /* Complete COPY ( with legal query commands */
    else if (Matches("COPY|\\copy", "("))
-               COMPLETE_WITH("SELECT", "TABLE", "VALUES", "INSERT
INTO", "UPDATE", "DELETE FROM", "WITH");
+               COMPLETE_WITH("SELECT", "TABLE", "VALUES", "INSERT
INTO", "UPDATE", "DELETE FROM", "WITH", "MERGE INTO");
MERGE INTO?


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Fix an error while building test_radixtree.c with TEST_SHARED_RT
Next
From: Alvaro Herrera
Date:
Subject: Re: doc fail about ALTER TABLE ATTACH re. NO INHERIT