Re: BUG #19524: NaN handling in btree_gist's float4/float8 opclasses

Daniel Gustafsson <daniel@yesql.se>

From: Daniel Gustafsson <daniel@yesql.se>
To: Bill Kim <billkimjh@gmail.com>
Cc: pgsql-bugs@lists.postgresql.org
Date: 2026-06-28T18:54:02Z
Lists: pgsql-bugs
> On 28 Jun 2026, at 04:14, Bill Kim <billkimjh@gmail.com> wrote:
> 
>  Hi all,
> 
>   I have a patch for this and `make check` passes (core + all contrib, plus
>   new btree_gist NaN cases covering the three scenarios in the report).
>   Posting here first in case someone is already further along — if not,
>   I'll send it to pgsql-hackers and register it in the open CF in a couple
>   of days.

Even if someone else is working on it, always feel free to send your patch.
Multiple implementations of a fix is not a problem but an opportunity for
everyone to learn from each other.

--
Daniel Gustafsson




Commits

  1. btree_gist: fix NaN handling in float4/float8 opclasses.