public inbox for [email protected]
help / color / mirror / Atom feedFrom: Marko Tiikkaja <[email protected]>
To: PG Docs <[email protected]>
Subject: PL/PgSQL INTO (used to be BUG #8870)
Date: Thu, 31 Jul 2014 23:34:35 +0200
Message-ID: <[email protected]> (raw)
List-Unsubscribe: <mailto:[email protected]?body=unsub%20pgsql-docs>
Hi,
As discussed in #8870, the docs make unfounded claims on INTO. Here's a
patch removing the incorrect part.
.marko
*** a/doc/src/sgml/plpgsql.sgml
--- b/doc/src/sgml/plpgsql.sgml
***************
*** 1023,1032 **** DELETE ... RETURNING <replaceable>expressions</replaceable> INTO <optional>STRIC
</tip>
<para>
! If a row or a variable list is used as target, the query's result columns
! must exactly match the structure of the target as to number and data
! types, or else a run-time error
! occurs. When a record variable is the target, it automatically
configures itself to the row type of the query result columns.
</para>
--- 1023,1029 ----
</tip>
<para>
! When a record variable is the target, it automatically
configures itself to the row type of the query result columns.
</para>
--
Sent via pgsql-docs mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs
Attachments:
[text/plain] plpgsql_bull.patch (758B, 2-plpgsql_bull.patch)
download | inline diff:
*** a/doc/src/sgml/plpgsql.sgml
--- b/doc/src/sgml/plpgsql.sgml
***************
*** 1023,1032 **** DELETE ... RETURNING <replaceable>expressions</replaceable> INTO <optional>STRIC
</tip>
<para>
! If a row or a variable list is used as target, the query's result columns
! must exactly match the structure of the target as to number and data
! types, or else a run-time error
! occurs. When a record variable is the target, it automatically
configures itself to the row type of the query result columns.
</para>
--- 1023,1029 ----
</tip>
<para>
! When a record variable is the target, it automatically
configures itself to the row type of the query result columns.
</para>
view thread (4+ messages) latest in thread
reply
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: [email protected]
Cc: [email protected]
Subject: Re: PL/PgSQL INTO (used to be BUG #8870)
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox