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-13T18:40:43Z
Lists: pgsql-hackers
... and pushed. One other change I made beyond those suggested was to push the zero-divide ereport's out-of-line as well. I did not do anything about adding unlikely() calls around the unrelated isinf tests in float.c. That seemed to me to be a separate matter, and I'm not quite convinced it'd be a win anyway. 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