Re: Implement targetlist SRFs using ROWS FROM() (was Changed SRF in targetlist handling)

From: Andres Freund <andres(at)anarazel(dot)de>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Implement targetlist SRFs using ROWS FROM() (was Changed SRF in targetlist handling)
Date: 2017-01-17 01:00:39
Message-ID: 20170117010039.qdamm6ycfi6rgvnl@alap3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2017-01-16 12:52:14 -0800, Andres Freund wrote:
> > > Comments?
> >
> > Hard to comment on your other points without a patch to look at.
>
> Attached the current version. There's a *lot* of pending cleanup needed
> (especially in execQual.c) removing outdated code/comments etc, but this
> seems good enough for a first review. I'd want that cleanup done in a
> separate patch anyway.

Here's a version with a lot of that pending cleanup added (and other
light updates). Most notably all SRF related code is gone from
executor/ excepting ExecMakeFunctionResultSet and nodeSetResult. I'm
sure there's minor remaining references somewhere, but that's the
majority.

I think when committing this the first two patches should be combined,
but the later cleanup patch one not. It hides too many of the actually
relevant changes.

Greetings,

Andres Freund

Attachment Content-Type Size
0001-Put-SRF-into-a-separate-node-v1.patch text/x-patch 36.9 KB
0002-Implement-targetlist-set-returning-functions-in-a-ne.patch text/x-patch 44.7 KB
0003-Remove-obsoleted-code-relating-to-targetlist-SRF-eva.patch text/x-patch 120.5 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Haribabu Kommi 2017-01-17 01:19:40 Re: pg_hba_file_settings view patch
Previous Message David Rowley 2017-01-16 23:42:34 Re: PoC: Grouped base relation