From: Alvaro Herrera Date: Wed, 18 May 2022 18:41:04 +0200 Subject: [PATCH v2] Link to MVCC docs in MERGE docs. --- doc/src/sgml/mvcc.sgml | 2 +- doc/src/sgml/ref/merge.sgml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/src/sgml/mvcc.sgml b/doc/src/sgml/mvcc.sgml index 341fea524a..4446e1c484 100644 --- a/doc/src/sgml/mvcc.sgml +++ b/doc/src/sgml/mvcc.sgml @@ -425,7 +425,7 @@ COMMIT; MERGE allows the user to specify various combinations of INSERT, UPDATE - or DELETE subcommands. A MERGE + and DELETE subcommands. A MERGE command with both INSERT and UPDATE subcommands looks similar to INSERT with an ON CONFLICT DO UPDATE clause but does not diff --git a/doc/src/sgml/ref/merge.sgml b/doc/src/sgml/ref/merge.sgml index f68aa09736..6b94c863b5 100644 --- a/doc/src/sgml/ref/merge.sgml +++ b/doc/src/sgml/ref/merge.sgml @@ -539,6 +539,8 @@ MERGE total_count + See for more details on the behavior of + MERGE under concurrency. You may also wish to consider using INSERT ... ON CONFLICT as an alternative statement which offers the ability to run an UPDATE if a concurrent INSERT -- 2.30.2 --2wzyrvwjlnwluax2--