Re: LATERAL quals revisited - Mailing list pgsql-hackers

From Antonin Houska
Subject Re: LATERAL quals revisited
Date
Msg-id 51D59EC3.2020902@gmail.com
Whole thread Raw
In response to Re: LATERAL quals revisited  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: LATERAL quals revisited
List pgsql-hackers
On 07/03/2013 08:32 PM, Tom Lane wrote:
> Another possibility would be to keep the optimization, but disable it in
> queries that use LATERAL.  I don't much care for that though --- seems
> too Rube Goldbergish, and in any case I have a lot less faith in the
> whole concept now than I had before I started digging into this issue.
>
> Thoughts?
>
I noticed EXPLAIN in some regression tests. So if they all pass after 
removal of this optimization, it might indicate that it was really 
insignificant. But alternatively it may just be a lack of focus on this 
feature in the test queries. Digging for (non-LATERAL) queries or rather 
patterns where the ph_may_need optimization clearly appears to be 
important sounds to me like a good SQL exercise, but I'm afraid I won't 
have time for it in the next few days.


//Antonin Houska (Tony)



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Review: Patch to compute Max LSN of Data Pages
Next
From: Bruce Momjian
Date:
Subject: Re: strange IS NULL behaviour