public inbox for [email protected]  
help / color / mirror / Atom feed
From: Marko Tiikkaja <[email protected]>
To: Marti Raudsepp <[email protected]>
Cc: PG Docs <[email protected]>
Subject: Re: PL/PgSQL INTO (used to be BUG #8870)
Date: Fri, 01 Aug 2014 13:43:44 +0200
Message-ID: <[email protected]> (raw)
In-Reply-To: <CABRT9RBLCyy0eHBpOneaAke_A3hVvnNwMyvhKiJRB=3C5x83DQ@mail.gmail.com>
References: <[email protected]>
	<CABRT9RBLCyy0eHBpOneaAke_A3hVvnNwMyvhKiJRB=3C5x83DQ@mail.gmail.com>
List-Unsubscribe: <mailto:[email protected]?body=unsub%20pgsql-docs>

On 8/1/14 1:33 PM, Marti Raudsepp wrote:
> On Fri, Aug 1, 2014 at 12:34 AM, Marko Tiikkaja <[email protected]> wrote:
>> Here's a patch removing the incorrect part.
>
> I can see how this doc statement can be misunderstood, but I think the
> claims are actually about data types, not the number of columns in the
> INTO list.

I don't really speak English, but I can't see what else the "as to 
number" part could mean.

But the claim about "exactly matching" data types is completely bogus, too:

   local:marko=#* do $$ declare _f1 timestamp;
   local:marko$#* begin select current_date into _f1;
   local:marko$#* end $$ ;
   DO

   local:marko=# do $$ declare _f1 timestamp;
   local:marko$# begin select text '2004-01-01' into _f1;
   local:marko$# end $$ ;
   DO


.marko


-- 
Sent via pgsql-docs mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs



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], [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