Re: CTE optimization fence on the todo list? - Mailing list pgsql-hackers

From Jim Nasby
Subject Re: CTE optimization fence on the todo list?
Date
Msg-id 5543E7CA.4080306@BlueTreble.com
Whole thread Raw
In response to Re: CTE optimization fence on the todo list?  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: CTE optimization fence on the todo list?
Re: CTE optimization fence on the todo list?
List pgsql-hackers
On 4/30/15 6:35 AM, Robert Haas wrote:
> On Thu, Apr 30, 2015 at 12:44 AM, Chris Rogers <teukros@gmail.com> wrote:
>> Has there been any movement on this in the last couple years?
>>
>> I could really use the ability to optimize across CTE boundaries, and it
>> seems like a lot of other people could too.
>
> I'm not aware that anyone is working on it.

ISTR a comment to the effect of the SQL standard effectively requires 
current behavior.

I'd still love to see a way around that though, even if it means some 
kind of additional syntax; WITH is a lot nicer way to factor a query 
than 10 nested subselects...
-- 
Jim Nasby, Data Architect, Blue Treble Consulting
Data in Trouble? Get it in Treble! http://BlueTreble.com



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Manipulating complex types as non-contiguous structures in-memory
Next
From: Jim Nasby
Date:
Subject: Re: Loss of some parts of the function definition