Force LC_NUMERIC to C while running TAP tests.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 11 Jul 2025 16:49:07 +0000 (12:49 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 11 Jul 2025 16:49:07 +0000 (12:49 -0400)
commitf25792c541e559070d8e816f82cce01eb4f55ab8
tree0176ebb8fa3062f605576a47e9b2241c71f8df4a
parent72e6c08fea7cf59f5166e138aab927ad87570aa4
Force LC_NUMERIC to C while running TAP tests.

We already forced LC_MESSAGES to C in order to get consistent
message output, but that isn't enough to stabilize messages
that include %f or similar formatting.

I'm a bit surprised that this hasn't come up before.  Perhaps
we ought to back-patch this change, but I'll refrain for now.

Reported-by: Bernd Helmle <mailings@oopsware.de>
Author: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/6f024eaa7885eddf5e0eb4ba1d095fbc7146519b.camel@oopsware.de
src/test/perl/PostgreSQL/Test/Utils.pm