Re: BUG #19938: BRIN index on box silently drops ordinary matching rows when a NaN box shares the same page range

From: shihao zhong <zhong950419(at)gmail(dot)com>
To: 798604270(at)qq(dot)com
Cc: pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #19938: BRIN index on box silently drops ordinary matching rows when a NaN box shares the same page range
Date: 2026-12-04 04:18:52
Message-ID: CAGRkXqQRu1u5XwE+_pJ3hg-R=uSenKzUe7g2iYioRcEhf8PzxA@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Hi Chi,

On Wed, Nov 25, 2026, PG Bug reporting form wrote:
> I found that a BRIN index on a box column (brin/box_inclusion_ops)
silently
> returns wrong results

Thanks for the report. This is the same problem as BUG #19705 [1], and
the patch for it in CommitFest entry 7370 fixes your case.

[1]
https://www.postgresql.org/message-id/19705-548fda77321e062d@postgresql.org

Thanks,
Shihao

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Amit Langote 2026-12-04 04:48:49 Re: BUG #19851: Adding a tautological CHECK(true) to a domain changes JSON_VALUE's result (silent NULL, value/type c
Previous Message shihao zhong 2026-12-04 04:18:25 Re: BUG #19937: Assertion failure (SIGABRT) in GiST KNN scan (computeDistance) on box with NaN coordinate