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