Re: GiST multirange index scans can fail to return rows

From: Alexander Korotkov <aekorotkov(at)gmail(dot)com>
To: Peter Geoghegan <pg(at)bowt(dot)ie>
Cc: Kirill Reshke <reshkekirill(at)gmail(dot)com>, Andrey Borodin <x4mmm(at)yandex-team(dot)ru>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: GiST multirange index scans can fail to return rows
Date: 2026-11-25 23:20:46
Message-ID: CAPpHfdt-MOmzSGda9_E83TA+wEgOODui-num_hnnQifHfDAm_g@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Nov 25, 2026 at 8:08 PM Peter Geoghegan <pg(at)bowt(dot)ie> wrote:
>
> On Sun, Aug 2, 2026 at 4:12 PM Alexander Korotkov <aekorotkov(at)gmail(dot)com> wrote:
> > Corrected as you proposed.
>
> Are you planning on committing this, Alexander?

Thank you for pinging me on this.

I did some minor adjustment. The comment is revised as proposed by
Andrey, but I still mention explicitly in parenthesis that empty
contain empty. I think it's important to clarify the order of the
checks. Typo in the commit message and two empty lines are fixed as
well.

I'm going to push this if no objections.

------
Regards,
Alexander Korotkov
Supabase

Attachment Content-Type Size
v5-0001-Fix-GiST-contained-by-scans-of-multiranges.patch application/octet-stream 6.4 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Lukas Fittl 2026-11-25 23:21:31 Re: Unify parallel worker handling for index builds and instrumentation
Previous Message Adesh Thakare 2026-11-25 22:57:50 Re: Postmaster PANIC on a standby with slot synchronization enabled