Обсуждение: pgsql: Avoid locale-dependent output in numericlocale check.

Поиск
Список
Период
Сортировка

pgsql: Avoid locale-dependent output in numericlocale check.

От
Tom Lane
Дата:
Avoid locale-dependent output in numericlocale check.

I'd forgotten that in the buildfarm, parts of the regression tests
may run with psql exposed to a non-default LC_NUMERIC setting.
Hence we can't assume that C locale prevails, nor is there any
accessible way to force the setting for this single test step.
Lobotomize the test case added by commit 9a98984f4 so that it covers as
much as we can of print.c without having any locale-varying output.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/95dcb8fc0580c7b1c5f480b3ecaf81c5fc9801ba

Modified Files
--------------
src/test/regress/expected/psql.out | 16 ++++++++--------
src/test/regress/sql/psql.sql      |  4 ++--
2 files changed, 10 insertions(+), 10 deletions(-)