Re: [PATCH]Remove obsolete macro CHECKFLOATVAL in btree_gist

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: "tanghy.fnst@fujitsu.com" <tanghy.fnst@fujitsu.com>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2021-08-19T03:28:07Z
Lists: pgsql-hackers
On Wed, Aug 18, 2021 at 10:04:04AM +0900, Michael Paquier wrote:
> Yes, that does not seem wise on performance grounds.  The case of
> !zero_is_valid is never reached, so it seems like this code was just a
> copy-paste from the float code in the backend.  Your patch looks right
> to me.

Applied.
--
Michael

Commits

  1. Improve performance of float overflow checks in btree_gist

  2. Provide separate header file for built-in float types