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. -- Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-docs