Re: Memory deallocation after calling cast function

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andres Freund <andres(at)2ndquadrant(dot)com>
Cc: Abhijit Menon-Sen <ams(at)2ndquadrant(dot)com>, Bruce Momjian <bruce(at)momjian(dot)us>, Soroosh Sardari <soroosh(dot)sardari(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Memory deallocation after calling cast function
Date: 2014-06-17 16:21:35
Message-ID: 2461.1403022095@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Andres Freund <andres(at)2ndquadrant(dot)com> writes:
> On 2014-06-17 21:09:25 +0530, Abhijit Menon-Sen wrote:
>> At 2014-06-17 11:32:37 -0400, bruce(at)momjian(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2014-06-17 16:21:47 Re: PL/pgSQL support to define multi variables once
Previous Message Bruce Momjian 2014-06-17 16:15:10 Re: pg_control is missing a field for LOBLKSIZE