Merge statement

Поиск
Список
Период
Сортировка
От PG Doc comments form
Тема Merge statement
Дата
Msg-id 166870559096.639.9180457099983661630@wrigleys.postgresql.org
обсуждение исходный текст
Ответы Re: Merge statement
Список pgsql-docs
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 } }

В списке pgsql-docs по дате отправления: