summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Gustafsson2022-11-17 09:07:06 +0000
committerDaniel Gustafsson2022-11-17 09:07:06 +0000
commit3b304547a9dfef7101889d35a4c5da7866d66c8e (patch)
treeac311231a65e293db9d8c1c1c26c4fe4fd6ad9df
parentaba2dbb3cf6283348a5f467b11820448fb4eaeb6 (diff)
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 <[email protected]> Reviewed-by: Richard Guo <[email protected]> Discussion: https://postgr.es/m/OSAPR01MB43247E46931E9E9CFC4AA0F29A079@OSAPR01MB4324.jpnprd01.prod.outlook.com Backpatch-through: 15
-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.