Andres Freund <[email protected]> writes:
> On 2014-06-17 21:09:25 +0530, Abhijit Menon-Sen wrote:
>> At 2014-06-17 11:32:37 -0400, [email protected] wrote:
>>> Uh, what is replacing SRFs? CTEs?
>> I don't think Tom was referring to SRFs in general, only putting them
>> directly into the targetlist of a SELECT.
> And the primary reason for using SRFs in the targetlist has gone away
> due to LATERAL.
Exactly. LATERAL does what you usually want from a SRF in the
targetlist, and it doesn't have bizarre semantics when you use more than
one.
regards, tom lane
--
Sent via pgsql-hackers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers