MERGE command is not mentioned in the list of commands for variable substitution
The Post Office <noreply@postgresql.org>
From: PG Doc comments form <noreply@postgresql.org>
To: pgsql-docs@lists.postgresql.org
Cc: emorgunov@mail.ru
Date: 2025-11-10T14:29:03Z
Lists: pgsql-docs
The following documentation comment has been logged on the website: Page: https://www.postgresql.org/docs/18/plpgsql-implementation.html Description: In the last paragraph of the section 41.11.1. "Variable Substitution" there is such a sentence -- "Variable substitution currently works only in SELECT, INSERT, UPDATE, DELETE, and commands containing one of these..." https://www.postgresql.org/docs/current/plpgsql-implementation.html#PLPGSQL-VAR-SUBST But experiments showed that variable substitution works for MERGE command too.
Commits
-
Doc: include MERGE in variable substitution command list
- 5d5b05c18ef4 15.16 landed
- 2791d4987956 16.12 landed
- 213596a0c108 17.8 landed
- 2ed2e71cdf42 18.2 landed
- 2b54a1abdbb0 19 (unreleased) landed