From: Tom Lane <tgl@sss.pgh.pa.us>
To: Tomas Vondra <tomas.vondra@2ndquadrant.com>
Cc: pgsql-hackers@postgresql.org
Subject: Re: New design for FK-based join selectivity estimation
Date: Mon, 20 Jun 2016 12:43:25 -0400
Message-ID: <28463.1466441005@sss.pgh.pa.us> (raw)
In-Reply-To: <747f8de5-266e-cf7e-b0ab-57b8a6725517@2ndquadrant.com>
References: <31041.1465069446@sss.pgh.pa.us>
<25469.1465138626@sss.pgh.pa.us>
<b790983b-4503-66ff-30c0-e7f46e3ad2f7@2ndquadrant.com>
<15245.1466031608@sss.pgh.pa.us>
<b1648fc3-3fd9-312e-f02c-f7fc6278d7d3@2ndquadrant.com>
<20877.1466175216@sss.pgh.pa.us>
<ee1a76b0-43ed-a6a4-2acb-7c410d0be3ac@2ndquadrant.com>
<15396.1466268742@sss.pgh.pa.us>
<747f8de5-266e-cf7e-b0ab-57b8a6725517@2ndquadrant.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>
Tomas Vondra <tomas.vondra@2ndquadrant.com> writes:
> On 06/18/2016 06:52 PM, Tom Lane wrote:
>> I concur, actually, but I feel that it's out of scope for this
>> particular patch, which is only trying to replace the functionality
>> that was committed previously. If you want to come up with a patch on
>> top of this that adds some accounting for NULLs, I'd be willing to
>> consider it as a post-beta2 improvement.
> Sure, fair enough. By post-beta2 you mean for 9.7, or still for 9.6?
I think it'd be legitimate to address the NULLs question for 9.6, as long
as the patch is not very large. If it does turn out to be invasive or
otherwise hard to review, waiting for 9.7 might be more prudent. But
I argued upthread that failing to consider nulls was a bug in the original
patch, so dealing with them could be considered a bug fix.
> If I could wish one more thing - could you briefly explain why you
> rewrote the patch the way you did? I'd like to learn from this and while
> I think I kinda understand most of the changes, I'm not really sure I
> got it right.
I don't at the moment recall everything I changed, but I'm happy to
answer questions that are more specific than that one ...
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
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-hackers@postgresql.org
Cc: tgl@sss.pgh.pa.us, tomas.vondra@2ndquadrant.com
Subject: Re: New design for FK-based join selectivity estimation
In-Reply-To: <28463.1466441005@sss.pgh.pa.us>
References: <31041.1465069446@sss.pgh.pa.us> <25469.1465138626@sss.pgh.pa.us> <b790983b-4503-66ff-30c0-e7f46e3ad2f7@2ndquadrant.com> <15245.1466031608@sss.pgh.pa.us> <b1648fc3-3fd9-312e-f02c-f7fc6278d7d3@2ndquadrant.com> <20877.1466175216@sss.pgh.pa.us> <ee1a76b0-43ed-a6a4-2acb-7c410d0be3ac@2ndquadrant.com> <15396.1466268742@sss.pgh.pa.us> <747f8de5-266e-cf7e-b0ab-57b8a6725517@2ndquadrant.com> <28463.1466441005@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