Add MERGE and VALUES statements to tab completion for PREPARE

From: Haruna Miwa <miwa(at)sraoss(dot)co(dot)jp>
To: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Add MERGE and VALUES statements to tab completion for PREPARE
Date: 2025-11-10 00:40:43
Message-ID: TY7P286MB5466B859BD6C5BE64E961878F1CEA@TY7P286MB5466.JPNP286.PROD.OUTLOOK.COM
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

As described in the manual[1], PREPARE ... AS command supports MERGE and VALUES statements, but current psql's tab completion does not suggest them.
I created a patch that enables MERGE and VALUES to appear as tab completion suggestions.

What do you think?

[1] https://www.postgresql.org/docs/devel/sql-prepare.html

--
Haruna Miwa

Attachment Content-Type Size
0001-Add-MERGE-and-VALUES-statements-to-tab-completion-fo.patch application/octet-stream 895 bytes

Browse pgsql-hackers by date

  From Date Subject
Next Message jian he 2025-11-10 00:53:02 Re: Emitting JSON to file using COPY TO
Previous Message Bruce Momjian 2025-11-09 22:59:19 Re: DOCS: What SGML markup to use for user objects like tables, columns, etc?