The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/15/sql-merge.html
Description:

From the description it looks like a single WHEN clause is accepted, which
is definitely not true.
Please let us know how many WHEN clauses are accepted for each of WNEM
MATCHED and WHEN NOT MATCHED.

Kindly please see the below description of the "when_clause" as it is now in
the documentation:

and when_clause is:

{ WHEN MATCHED [ AND condition ] THEN { merge_update | merge_delete | DO
NOTHING } |
  WHEN NOT MATCHED [ AND condition ] THEN { merge_insert | DO NOTHING } }

Reply via email to