Re: In PG12, query with float calculations is slower than PG11
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@anarazel.de>
Cc: Emre Hasegeli <emre@hasegeli.com>, nospam-pg-abuse@bloodgate.com,
Amit Langote <amitlangote09@gmail.com>,
Tomas Vondra <tomas.vondra@2ndquadrant.com>,
keisuke kuroda <keisuke.kuroda.3862@gmail.com>,
PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2020-02-12T18:15:22Z
Lists: pgsql-hackers
Andres Freund <andres@anarazel.de> writes: > I'd just rename the macro to the name of the inline function. No need to > have a verbose change in all callsites just to update the name imo. +1, that's what I had in mind too. That does suggest though that we ought to make sure the macro has single-eval behavior, so that you don't need to know it's a macro. regards, tom lane
Commits
-
Avoid a performance regression in float overflow/underflow detection.
- 764a554d6f5e 12.3 landed
- 607f8ce74df9 13.0 landed
-
Provide separate header file for built-in float types
- 6bf0bc842bd7 12.0 cited