Re: SRF in SFRM_ValuePerCall mode - Mailing list pgsql-hackers

From Tom Lane
Subject Re: SRF in SFRM_ValuePerCall mode
Date
Msg-id 977.1209478954@sss.pgh.pa.us
Whole thread Raw
In response to Re: SRF in SFRM_ValuePerCall mode  ("dv @ nabble" <dvnabble@gmail.com>)
List pgsql-hackers
"dv @ nabble" <dvnabble@gmail.com> writes:
> From: "Tom Lane" <tgl@sss.pgh.pa.us>
>> If you're not joining to the function result, and you don't need the
>> ability to determine its result type on the fly, you could declare it
>> as returning a specific rowtype and then call it in the targetlist:
>> 
>> select vpc();

> You mean make the function return the only row?

No, I'm pointing out that ValuePerCall SRFs can be called from the
targetlist.
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Tom Dunstan"
Date:
Subject: Re: Protection from SQL injection
Next
From: Tino Wildenhain
Date:
Subject: Re: Protection from SQL injection