Re: nested loop semijoin estimates - Mailing list pgsql-hackers

From Tomas Vondra
Subject Re: nested loop semijoin estimates
Date
Msg-id 556E078F.2040502@2ndquadrant.com
Whole thread Raw
In response to Re: nested loop semijoin estimates  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers

On 06/02/15 21:39, Tom Lane wrote:
> I wrote:
>> I'm a bit disturbed by that, because AFAICS from the plans, these queries
>> did not involve any semi or anti joins, which should mean that the patch
>> would not have changed the planner's behavior.
>
> After contemplating my navel for awhile, it occurred to me that maybe the
> patch's changes in add_path_precheck could have caused behavioral changes
> at the margins.  Could you try a run without that (without the last two
> hunks in pathnode.c)?

Yes, I think that's the cause. See the end of the message I sent just 
before you posted this.


--
Tomas Vondra                  http://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: nested loop semijoin estimates
Next
From: Tom Lane
Date:
Subject: Re: nested loop semijoin estimates