pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Force LC_NUMERIC to C while running TAP tests.
Date: Fri, 11 Jul 2025 16:49:26 +0000
Message-ID: <E1uaGwA-005moz-2h@gemulon.postgresql.org> (raw)

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/f25792c541e559070d8e816f82cce01eb4f55ab8

Modified Files
--------------
src/test/perl/PostgreSQL/Test/Utils.pm | 1 +
1 file changed, 1 insertion(+)



Message-ID: <E1uaGwA-005moz-2h@gemulon.postgresql.org>
Permalink:  ../E1uaGwA-005moz-2h@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1uaGwA-005moz-2h@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Force LC_NUMERIC to C while running TAP tests.
  In-Reply-To: <E1uaGwA-005moz-2h@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox