Re: EXPLAIN ANALYZE not displaying recheck condition

From: Jeff Janes <jeff(dot)janes(at)gmail(dot)com>
To: Ryan Lambert <ryan(at)rustprooflabs(dot)com>
Cc: pgsql-bugs <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: Re: EXPLAIN ANALYZE not displaying recheck condition
Date: 2019-11-08 18:54:40
Message-ID: CAMkU=1wADJrkH5sXvEp91E1UKCdwTnD=nvT1bb5ckRXrpApy9Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Fri, Nov 8, 2019 at 10:47 AM Jeff Janes <jeff(dot)janes(at)gmail(dot)com> wrote:

> On Thu, Nov 7, 2019 at 5:04 PM Ryan Lambert <ryan(at)rustprooflabs(dot)com>
> wrote:
>
>> Hello,
>>
>> In Pg12 I noticed the output from EXPLAIN ANALYZE no longer displays the
>> recheck condition when using GIST indexes, such as:
>>
>>
> I can't reproduce this using postgis 2.5.2 in Pg12. What version of
> postgis are you using, and how did you install it?
>

This looks like an intended outcome of this commit (in postgis, not in
PostgreSQL):

commit 2f3e2783e7e1fa57a5a994e0c82d9784e94895b9
Author: Paul Ramsey <pramsey(at)cleverelephant(dot)ca>
Date: Wed Mar 6 17:27:24 2019 +0000

Use "support function" API in PgSQL 12+ to provide index support for
ST_Intersects and company, in place of old SQL inlining method.
Closes #4341

My interpretation is that the filter is at least as stringent as the
recheck, so there is nothing to recheck.

Cheers,

Jeff

>

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Alessandro Ferraresi 2019-11-08 19:37:04 Re: BUG #16098: unexplained autovacuum to prevent wraparound
Previous Message Sergei Kornilov 2019-11-08 16:59:07 Re: BUG #16102: Table can't be drop on PostgreSQL 10.09 if the table was created from PostgreSQL 10.10