postgres.git / summary / log / commit / refs

commit    213596a0c1089ef752dc080ca74e4ea6f8f7049d
Author:   David Rowley <drowley@postgresql.org>
Date:     Sun Nov 16 21:52:30 2025 +0000
First released in: 15.16, 16.12, 17.8, 18.2

    Doc: include MERGE in variable substitution command list
    
    Backpatch to 15, where MERGE was introduced.
    
    Reported-by:  <emorgunov@mail.ru>
    Author: David Rowley <dgrowleyml@gmail.com>
    Discussion: https://postgr.es/m/176278494385.770.15550176063450771532@wrigleys.postgresql.org
    Backpatch-through: 15


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 8f4db1b114f..0615c114df9 100644 --- a/doc/src/sgml/plpgsql.sgml +++ b/doc/src/sgml/plpgsql.sgml @@ -4948,13 +4948,13 @@ $$ LANGUAGE plpgsql; <para> Variable substitution currently works only in <command>SELECT</command>, <command>INSERT</command>, <command>UPDATE</command>, - <command>DELETE</command>, and commands containing one of - these (such as <command>EXPLAIN</command> and <command>CREATE TABLE - ... AS SELECT</command>), - 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 <command>EXECUTE</command> it. + <command>DELETE</command>, <command>MERGE</command> and commands + containing one of these (such as <command>EXPLAIN</command> and + <command>CREATE TABLE ... AS SELECT</command>), 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 <command>EXECUTE</command> it. </para> </sect2> [parent: 505ce19a205a]