Thanks to visit codestin.com
Credit goes to postgrespro.com

Re: PLPGSQL: Using SELECT INTO and EXECUTE - Mailing list pgsql-general

From Tom Lane
Subject Re: PLPGSQL: Using SELECT INTO and EXECUTE
Date
Msg-id [email protected]
Whole thread Raw
In response to PLPGSQL: Using SELECT INTO and EXECUTE  (Michael Dunn <[email protected]>)
Responses PLPGSQL: Using Transactions and locks
List pgsql-general
Michael Dunn <[email protected]> writes:
> Can EXECUTE handle a SELECT INTO statement within a plpgsql function.

SELECT INTO doesn't mean the same thing in plpgsql as it does in regular
SQL.  Use CREATE TABLE AS, instead.

            regards, tom lane

pgsql-general by date:

Previous
From: Tatsuo Ishii
Date:
Subject: Re: Big5 contains '\'
Next
From: Steve Micallef
Date:
Subject: Unix time stamp function?