aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Gustafsson <dgustafsson@postgresql.org>2022-11-17 10:07:06 +0100
committerDaniel Gustafsson <dgustafsson@postgresql.org>2022-11-17 10:07:06 +0100
commit3b304547a9dfef7101889d35a4c5da7866d66c8e (patch)
treeac311231a65e293db9d8c1c1c26c4fe4fd6ad9df /src
parentaba2dbb3cf6283348a5f467b11820448fb4eaeb6 (diff)
downloadpostgresql-3b304547a9dfef7101889d35a4c5da7866d66c8e.tar.gz
postgresql-3b304547a9dfef7101889d35a4c5da7866d66c8e.zip
doc: Fix wording of MERGE actions in README
UPDATE was listed twice and DELETE was omitted, replace one UPDATE with DELETE instead. Backpatch through v15 where MERGE was added. Author: Myo Wai Thant <myo.waithant@fujitsu.com> Reviewed-by: Richard Guo <guofenglinux@gmail.com> Discussion: https://postgr.es/m/OSAPR01MB43247E46931E9E9CFC4AA0F29A079@OSAPR01MB4324.jpnprd01.prod.outlook.com Backpatch-through: 15
Diffstat (limited to 'src')
-rw-r--r--src/backend/executor/README2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/executor/README b/src/backend/executor/README
index 0b5183fc4a4..17775a49e26 100644
--- a/src/backend/executor/README
+++ b/src/backend/executor/README
@@ -229,7 +229,7 @@ MERGE
MERGE is a multiple-table, multiple-action command: It specifies a target
table and a source relation, and can contain multiple WHEN MATCHED and
WHEN NOT MATCHED clauses, each of which specifies one UPDATE, INSERT,
-UPDATE, or DO NOTHING actions. The target table is modified by MERGE,
+DELETE, or DO NOTHING actions. The target table is modified by MERGE,
and the source relation supplies additional data for the actions. Each action
optionally specifies a qualifying expression that is evaluated for each tuple.