pgsql: Give up on testing guc.c's behavior for "infinity" inputs. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Give up on testing guc.c's behavior for "infinity" inputs.
Date
Msg-id E1h3SrG-00089Z-P0@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Give up on testing guc.c's behavior for "infinity" inputs.

Further buildfarm testing shows that on the machines that are failing
ac75959cd's test case, what we're actually getting from strtod("-infinity")
is a syntax error (endptr == value) not ERANGE at all.  This test case
is not worth carrying two sets of expected output for, so just remove it,
and revert commit b212245f9's misguided attempt to work around the platform
dependency.

Discussion: https://postgr.es/m/E1h33xk-0001Og-Gs@gemulon.postgresql.org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/d9c5e9629bf511a51328fd083ee452de88d91d9d

Modified Files
--------------
src/backend/utils/misc/guc.c      | 12 +++++-------
src/test/regress/expected/guc.out |  2 --
src/test/regress/sql/guc.sql      |  1 -
3 files changed, 5 insertions(+), 10 deletions(-)


pgsql-committers by date:

Previous
From: Andres Freund
Date:
Subject: pgsql: Ensure sufficient alignment for ParallelTableScanDescData inBTS
Next
From: Andres Freund
Date:
Subject: pgsql: Remove spurious return.