Re: plpgsql select into - Mailing list pgsql-novice

From Roger Mason
Subject Re: plpgsql select into
Date
Msg-id y651r6nqdcj.fsf@mun.ca
Whole thread Raw
In response to Re: plpgsql select into  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-novice
Tom Lane writes:

> Roger Mason <rmason@mun.ca> writes:
> You selected zero columns (which psql is not very good at displaying :-().
> Try
>
> select * into info_table from (select get_info('1043_1')) as info_split;
>
> BTW, that could be simplified a lot:
>
> select * into info_table from get_info('1043_1');

Embarassed cough :-).

And thanks for the simplification.

Roger



pgsql-novice by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: plpgsql select into
Next
From: Roger Mason
Date:
Subject: Re: plpgsql select into