From: Tom Lane <tgl@sss.pgh.pa.us>
To: idrissaajalloh@gmail.com
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #19887: cube expression index returns wrong rows after extra_float_digits change
Date: Thu, 12 Nov 2026 13:15:11 -0500
Message-ID: <49108.1794507311@sss.pgh.pa.us> (raw)
In-Reply-To: <19887-b2be0d8951d8498b@postgresql.org>
References: <19887-b2be0d8951d8498b@postgresql.org>
PG Bug reporting form <noreply@postgresql.org> writes:
> A cube expression index built with extra_float_digits = 0 returns no rows
> after the setting is changed to 3, while sequential evaluation of the same
> predicate returns one row. cube_out(cube) is marked IMMUTABLE, but the same
> cube value is rendered as (1.23456789012346) with the first setting and
> (1.2345678901234567) with the second.
Yeah. There's a wider discussion in progress about this class of
bugs, over here:
https://www.postgresql.org/message-id/flat/19644-d6db3fb5e5ad92f4%40postgresql.org
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, idrissaajalloh@gmail.com
Subject: Re: BUG #19887: cube expression index returns wrong rows after extra_float_digits change
In-Reply-To: <49108.1794507311@sss.pgh.pa.us>
References: <19887-b2be0d8951d8498b@postgresql.org> <49108.1794507311@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox