Re: Memory deallocation after calling cast function - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Memory deallocation after calling cast function
Date
Msg-id 2461.1403022095@sss.pgh.pa.us
Whole thread Raw
In response to Re: Memory deallocation after calling cast function  (Andres Freund <andres@2ndquadrant.com>)
List pgsql-hackers
Andres Freund <andres@2ndquadrant.com> writes:
> On 2014-06-17 21:09:25 +0530, Abhijit Menon-Sen wrote:
>> At 2014-06-17 11:32:37 -0400, bruce@momjian.us 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



pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: pg_control is missing a field for LOBLKSIZE
Next
From: Robert Haas
Date:
Subject: Re: PL/pgSQL support to define multi variables once