From 313853cc67de66e76d50854fb6b5218d49c53fc1 Mon Sep 17 00:00:00 2001 From: David Rowley Date: Tue, 11 Nov 2025 10:35:06 +1300 Subject: [PATCH v1] Doc: include MERGE in variable substitution command list Author: David Rowley Reported-by: emorgunov@mail.ru Discussion: https://postgr.es/m/176278494385.770.15550176063450771532@wrigleys.postgresql.org --- doc/src/sgml/plpgsql.sgml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/doc/src/sgml/plpgsql.sgml b/doc/src/sgml/plpgsql.sgml index b561b4cc580..561f6e50d63 100644 --- a/doc/src/sgml/plpgsql.sgml +++ b/doc/src/sgml/plpgsql.sgml @@ -4962,13 +4962,13 @@ $$ LANGUAGE plpgsql; Variable substitution currently works only in SELECT, INSERT, UPDATE, - DELETE, and commands containing one of - these (such as EXPLAIN and CREATE TABLE - ... AS SELECT), - because the main SQL engine allows query parameters only in these - commands. To use a non-constant name or value in other statement - types (generically called utility statements), you must construct - the utility statement as a string and EXECUTE it. + DELETE, MERGE and commands + containing one of these (such as EXPLAIN and + CREATE TABLE ... AS SELECT), because the main SQL + engine allows query parameters only in these commands. To use a + non-constant name or value in other statement types (generically called + utility statements), you must construct the utility statement as a string + and EXECUTE it. -- 2.40.1.windows.1