Re: [HACKERS] [COMMITTERS] pgsql: Fix cardinality estimates for parallel joins. - Mailing list pgsql-hackers

From Amit Kapila
Subject Re: [HACKERS] [COMMITTERS] pgsql: Fix cardinality estimates for parallel joins.
Date
Msg-id CAA4eK1+uWz-NUs9JDMUjFR0_ONiuAqmEkM_5NPqFOaRFPtNC-A@mail.gmail.com
Whole thread Raw
In response to Re: [HACKERS] [COMMITTERS] pgsql: Fix cardinality estimates for parallel joins.  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
On Tue, Mar 14, 2017 at 9:59 PM, Robert Haas <robertmhaas@gmail.com> wrote:
> On Tue, Jan 17, 2017 at 11:49 AM, Robert Haas <robertmhaas@gmail.com> wrote:
>> On Mon, Jan 16, 2017 at 7:23 AM, Amit Kapila <amit.kapila16@gmail.com> wrote:
>>>
>>>
>>> Isn't it better to call clamp_row_est in join costing functions as we
>>> are doing in cost_seqscan()?  Is there a reason to keep those
>>> different?
>>
>> No, those should probably be changed to match.
>
> So I guess that'd look something like this?
>

Yes, the patch looks good to me.

-- 
With Regards,
Amit Kapila.
EnterpriseDB: http://www.enterprisedb.com



pgsql-hackers by date:

Previous
From: Amit Langote
Date:
Subject: Re: [HACKERS] Partitioned tables and relfilenode
Next
From: "Tsunakawa, Takayuki"
Date:
Subject: Re: [HACKERS] PATCH: Configurable file mode mask