pgsql: Avoid locale-dependent output in numericlocale check.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Avoid locale-dependent output in numericlocale check.
Дата
Msg-id E1gRNWd-0001oZ-F4@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: pgsql: Fix sample output for hash_metapage_info query
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix translation of special characters in psql's LaTeX outputmod