From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Avoid locale-dependent output in numericlocale check. |
Date: | 2018-11-26 20:30:35 |
Message-ID: | E1gRNWd-0001oZ-F4@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Stephen Frost | 2018-11-26 20:48:55 | Re: pgsql: Integrate recovery.conf into postgresql.conf |
Previous Message | Sergei Kornilov | 2018-11-26 20:30:17 | Re: pgsql: Integrate recovery.conf into postgresql.conf |