pgsql: Avoid locale-dependent output in numericlocale check. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Avoid locale-dependent output in numericlocale check.
Date
Msg-id E1gRNWd-0001oZ-F4@gemulon.postgresql.org
Whole thread Raw
List 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 by date:

Previous
From: Alvaro Herrera
Date:
Subject: pgsql: Fix sample output for hash_metapage_info query
Next
From: Tom Lane
Date:
Subject: pgsql: Fix translation of special characters in psql's LaTeX outputmod