From: sergey.klimkevich@gmail.com
To: pgsql-docs@postgresql.org
Subject: INSERT/UPDATE/DELETE with RETURNING
Date: Thu, 12 Jan 2017 09:29:05 +0000
Message-ID: <20170112092905.24296.7733@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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.
--
Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-docs@postgresql.org
Cc: sergey.klimkevich@gmail.com
Subject: Re: INSERT/UPDATE/DELETE with RETURNING
In-Reply-To: <20170112092905.24296.7733@wrigleys.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox