pg.ddx.io pgsql-hackers@postgresql.org mailing list archive
help / color / mirror / Atom feed From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@anarazel.de>
Cc: pgsql-hackers@postgresql.org
Subject: Re: Implement targetlist SRFs using ROWS FROM() (was Changed SRF in targetlist handling)
Date: Thu, 15 Sep 2016 17:12:55 -0400
Message-ID: <15003.1473973975@sss.pgh.pa.us> (raw )
In-Reply-To: <20160915210843.rhvyqwxjopkp26zc@alap3.anarazel.de >
References: <20160912173815.dlew2xsblcso33sw@alap3.anarazel.de >
<17324.1473716167@sss.pgh.pa.us >
<20160912220705.b77smzorutebnbee@alap3.anarazel.de >
<19682.1473719703@sss.pgh.pa.us >
<20160912231144.f3nseocp274iq7wg@alap3.anarazel.de >
<23413.1473723322@sss.pgh.pa.us >
<20160912234630.caueobrrbg5vse5y@alap3.anarazel.de >
<557.1473895705@sss.pgh.pa.us >
<20160915203222.27fmxjme5gehluei@alap3.anarazel.de >
<14138.1473972539@sss.pgh.pa.us >
<20160915210843.rhvyqwxjopkp26zc@alap3.anarazel.de >
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>
Andres Freund <andres@anarazel.de> writes:
> On 2016-09-15 16:48:59 -0400, Tom Lane wrote:
>> The patch that I posted would run both the generate_series(1, 2) and
>> generate_series(2,4) calls in the same SRF node, forcing them to run in
>> lockstep, after which their results would be fed to the SRF node doing
>> the top-level SRFs. We could probably change it to run them in separate
>> nodes, but I don't see any principled way to decide which one goes first
>> (and in some variants of this example, it would matter).
> I think that's fine. I personally still think we're *much* better off
> getting rid of the non-lockstep variants. You're still on the fence
> about retaining the LCM behaviour (for the same nesting level at least)?
I'm happy to get rid of the LCM behavior, I just want to have some wiggle
room to be able to get it back if somebody really needs it.
regards, tom lane
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
view thread (110+ messages) latest in thread
Message-ID: <15003.1473973975@sss.pgh.pa.us>
Permalink: ../15003.1473973975@sss.pgh.pa.us/
Also on: postgresql.org/message-id/15003.1473973975@sss.pgh.pa.us
copy link · copy postgr.es
reply Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-hackers@postgresql.org
Cc: tgl@sss.pgh.pa.us, andres@anarazel.de
Subject: Re: Implement targetlist SRFs using ROWS FROM() (was Changed SRF in targetlist handling)
In-Reply-To: <15003.1473973975@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox