Re: Rangejoin rebased - Mailing list pgsql-hackers

From Simon Riggs
Subject Re: Rangejoin rebased
Date
Msg-id CANP8+j+QRbpFjBLezj_bOEeUU3f=sLegtbxM1DqP0s5W9MO0eQ@mail.gmail.com
Whole thread Raw
In response to Re: Rangejoin rebased  (Simon Riggs <simon@2ndquadrant.com>)
Responses Re: Rangejoin rebased
List pgsql-hackers
On 19 January 2018 at 08:25, Simon Riggs <simon@2ndquadrant.com> wrote:
> On 17 January 2018 at 05:49, Jeff Davis <pgsql@j-davis.com> wrote:
>> On Wed, Jan 10, 2018 at 7:49 AM, Simon Riggs <simon@2ndquadrant.com> wrote:
>>> Do we optimize for TIMESTAMP <@ RANGE as well?
>>
>> Not currently. It requires a little extra complexity because empty
>> ranges will match anything and need special handling.

err... that isn't correct. An empty range matches nothing, so can be
ignored in joins.

So probably best to explain some more, please.

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


pgsql-hackers by date:

Previous
From: Yoshimi Ichiyanagi
Date:
Subject: Re: [HACKERS][PATCH] Applying PMDK to WAL operations for persistent memory
Next
From: Amit Langote
Date:
Subject: Re: [HACKERS] Useless code in ExecInitModifyTable