From 99ac6b60526fff8f6b032e2d6b599325c8eeeea8 Mon Sep 17 00:00:00 2001 From: Miwa-Haruna Date: Tue, 28 Oct 2025 07:50:03 +0000 Subject: [PATCH] Add MERGE and VALUES statements to tab completion for PREPARE command --- src/bin/psql/tab-complete.in.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/psql/tab-complete.in.c b/src/bin/psql/tab-complete.in.c index 36ea6a4d557..61b7fe3f5ee 100644 --- a/src/bin/psql/tab-complete.in.c +++ b/src/bin/psql/tab-complete.in.c @@ -4920,7 +4920,7 @@ match_previous_words(int pattern_id, /* PREPARE xx AS */ else if (Matches("PREPARE", MatchAny, "AS")) - COMPLETE_WITH("SELECT", "UPDATE", "INSERT INTO", "DELETE FROM"); + COMPLETE_WITH("SELECT", "UPDATE", "INSERT INTO", "DELETE FROM", "MERGE", "VALUES"); /* * PREPARE TRANSACTION is missing on purpose. It's intended for transaction -- 2.47.3