From 1eaa48e998e20766d70ed80cf538f3871d1c562c Mon Sep 17 00:00:00 2001 From: Daniel Gustafsson Date: Thu, 17 Nov 2022 10:07:06 +0100 Subject: [PATCH] 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 Reviewed-by: Richard Guo Discussion: https://postgr.es/m/OSAPR01MB43247E46931E9E9CFC4AA0F29A079@OSAPR01MB4324.jpnprd01.prod.outlook.com Backpatch-through: 15 --- src/backend/executor/README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/executor/README b/src/backend/executor/README index 0b5183fc4a..17775a49e2 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.