Re: PL/PgSQL INTO (used to be BUG #8870) - Mailing list pgsql-docs

From Marko Tiikkaja
Subject Re: PL/PgSQL INTO (used to be BUG #8870)
Date
Msg-id 53DB7D70.4040701@joh.to
Whole thread Raw
In response to Re: PL/PgSQL INTO (used to be BUG #8870)  (Marti Raudsepp <marti@juffo.org>)
Responses Re: PL/PgSQL INTO (used to be BUG #8870)
List pgsql-docs
On 8/1/14 1:33 PM, Marti Raudsepp wrote:
> On Fri, Aug 1, 2014 at 12:34 AM, Marko Tiikkaja <marko@joh.to> 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


pgsql-docs by date:

Previous
From: Marti Raudsepp
Date:
Subject: Re: PL/PgSQL INTO (used to be BUG #8870)
Next
From: Marti Raudsepp
Date:
Subject: Re: PL/PgSQL INTO (used to be BUG #8870)