[DOCS] INSERT/UPDATE/DELETE with RETURNING

Поиск
Список
Период
Сортировка
От sergey.klimkevich@gmail.com
Тема [DOCS] INSERT/UPDATE/DELETE with RETURNING
Дата
Msg-id 20170112092905.24296.7733@wrigleys.postgresql.org
обсуждение исходный текст
Список pgsql-docs
The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/9.6/static/plpgsql-statements.html
Description:


Following statement on
https://www.postgresql.org/docs/9.6/static/plpgsql-statements.html page is
not entirely correct:

"For INSERT/UPDATE/DELETE with RETURNING, PL/pgSQL reports an error for more
than one returned row, even when STRICT is not specified."

This is only true for RETURNING with INTO clause. If INTO clause is omitted
while using RETURNING then the above statement is incorrect and must mention
the presence of INTO clause to be correct.


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