Re: Changed SRF in targetlist handling - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Changed SRF in targetlist handling
Date
Msg-id 21497.1464034675@sss.pgh.pa.us
Whole thread Raw
In response to Re: Changed SRF in targetlist handling  (Joe Conway <mail@joeconway.com>)
Responses Re: Changed SRF in targetlist handling  (Alvaro Herrera <alvherre@2ndquadrant.com>)
List pgsql-hackers
Joe Conway <mail@joeconway.com> writes:
> I would be in favor of rewriting it to a LATERAL, but that would not be
> backwards compatible entirely either IIUC.

It could be made so, I think, but it may be more trouble than it's worth;
see my previous message.

> I'll also note that, unless I missed something, we also have to consider
> that the capability to pipeline results is still only available in the
> target list.

Yes, we would definitely want to improve nodeFunctionscan.c to perform
better for ValuePerCall SRFs.  But that has value independently of this.
        regards, tom lane



pgsql-hackers by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: Changed SRF in targetlist handling
Next
From: Alvaro Herrera
Date:
Subject: Re: Changed SRF in targetlist handling