Re: select into - Mailing list pgsql-sql

From Adrian Klaver
Subject Re: select into
Date
Msg-id 200611240645.33431.aklaver@comcast.net
Whole thread Raw
In response to Re: select into  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: select into
Re: select into
List pgsql-sql
On Thursday 23 November 2006 08:45 pm, Tom Lane wrote:
> Mulham freshcode <mulhamcode@yahoo.com> writes:
> > execute sql_str1 into svc_data_rec ;
> >
> > svc_data_rec is a RECORD, which is supposed to be dynamic.
>
> This should work --- in PG 8.1 or later.  In older versions you'd have
> to fool around with a FOR ... IN EXECUTE ... loop.
>
>             regards, tom lane
The documentation for pl/pgsql  in 8.1 and higher says different. 

http://www.postgresql.org/docs/8.1/interactive/plpgsql-statements.html#PLPGSQL-STATEMENTS-EXECUTING-DYN
" SELECT INTO is not currently supported within EXECUTE."

The change is reflected in the HISTORY text though. How is the best way to get 
a change made to the documentation?
-- 
Adrian Klaver    
aklaver@comcast.net


pgsql-sql by date:

Previous
From: "Ezequias Rodrigues da Rocha"
Date:
Subject: PgAgent [where is it?]
Next
From: Andreas Kretschmer
Date:
Subject: Re: select into