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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Give up on testing guc.c's behavior for "infinity" inputs.
Дата
Msg-id E1h3SrG-00089Z-P0@gemulon.postgresql.org
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Andres Freund
Дата:
Сообщение: pgsql: Ensure sufficient alignment for ParallelTableScanDescData inBTS
Следующее
От: Andres Freund
Дата:
Сообщение: pgsql: Remove spurious return.