Re: tab_complete for copy(merge

From: Kirill Reshke <reshkekirill(at)gmail(dot)com>
To: jian he <jian(dot)universality(at)gmail(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: tab_complete for copy(merge
Date: 2024-11-19 09:20:13
Message-ID: CALdSSPioy0Khz+1imEFoYiUxPqCqsaQMP0Cbi8=QYY_6ef82Hg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi!

On Tue, 19 Nov 2024, 14:08 jian he, <jian(dot)universality(at)gmail(dot)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?

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrey M. Borodin 2024-11-19 09:31:43 Re: UUID v7
Previous Message Alvaro Herrera 2024-11-19 09:14:18 Re: Fix an error while building test_radixtree.c with TEST_SHARED_RT