[PATCH]Remove obsolete macro CHECKFLOATVAL in btree_gist

From: "tanghy(dot)fnst(at)fujitsu(dot)com" <tanghy(dot)fnst(at)fujitsu(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: [PATCH]Remove obsolete macro CHECKFLOATVAL in btree_gist
Date: 2021-08-06 14:14:21
Message-ID: OS0PR01MB611358E3A7BC3C2F874AC36BFBF39@OS0PR01MB6113.jpnprd01.prod.outlook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi

Commit 6bf0bc842 replaced float.c's CHECKFLOATVAL() macro with static inline subroutines,
but the fix introduced a performance regression as Tom Lane pointed out and fixed at 607f8ce74.

Found obsolete CHECKFLOATVAL usage in contrib/btree_gist, and tried to fix it according to 607f8ce74.
The attached patch has been testified in master. All tap tests passed.

Regards,
Tang

Attachment Content-Type Size
0001-Remove-obsolete-macro-CHECKFLOATVAL.patch application/octet-stream 2.5 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message John Naylor 2021-08-06 14:48:30 Re: RFC: Improve CPU cache locality of syscache searches
Previous Message Ajin Cherian 2021-08-06 14:01:42 Re: logical replication empty transactions