Re: Rangejoin rebased - Mailing list pgsql-hackers

From Robert Haas
Subject Re: Rangejoin rebased
Date
Msg-id CA+TgmoaEo4hLErWMce+qNYm=mzUf7qxMs+YPUpdpk2diV-eu3Q@mail.gmail.com
Whole thread Raw
In response to Re: Rangejoin rebased  (Alexander Kuzmenkov <a.kuzmenkov@postgrespro.ru>)
Responses Re: Rangejoin rebased  (David Steele <david@pgmasters.net>)
List pgsql-hackers
On Fri, Mar 2, 2018 at 11:12 AM, Alexander Kuzmenkov
<a.kuzmenkov@postgrespro.ru> wrote:
> On 16.01.2018 10:49, Jeff Davis wrote:
>> My proposed fix is to make an internal opfamily identical to the
>> external one, such that it's not recognized as part of the same EC,
>> and the planner won't try to eliminate it. It loses out on potential
>> optimizations, but those are mostly theoretical since the btree
>> opclass ordering for ranges is not very interesting to a user.
>
> I think I figured out what to do with missing sort directions. We can change
> select_outer_pathkeys_for_merge() to generate the pathkeys we need. Also,
> find_mergeclauses_for_outer_pathkeys() has to be changed too, so that it
> knows which pathkeys are compatible to which range join clauses.
>
> About the patch, do I understand it right that you are working on the next
> version now?

I think we are quite clearly past the deadline to submit a new patch
for inclusion in v11 at this point.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


pgsql-hackers by date:

Previous
From: Fujii Masao
Date:
Subject: Re: psql tab completion for ALTER INDEX SET
Next
From: Robert Haas
Date:
Subject: Re: [Patch] Checksums for SLRU files