From: | Daniel Gustafsson <dgustafsson(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: psql: Make test robust against locale variations |
Date: | 2025-03-26 12:23:36 |
Message-ID: | E1txPnD-0015OS-2s@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
psql: Make test robust against locale variations
The test committed in 1a759c83278 was prone to failing when using
locales with a different decimal separator. Since the test value
isn't the important part, change to using an integer instead.
Author: Daniel Gustafsson <daniel(at)yesql(dot)se>
Reported-by: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
Reviewed-by: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
Discussion: https://postgr.es/m/CAFj8pRDE=7uW7QP4rg-OQLE2i-puYsUUt+eHE-L6_b_J9w=eWg@mail.gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/1eb399366ed658d41b8795a0a25599a8599bbcfb
Modified Files
--------------
src/bin/psql/t/001_basic.pl | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Daniel Gustafsson | 2025-03-26 14:37:03 | pgsql: Move GSSAPI includes into its own header |
Previous Message | Peter Eisentraut | 2025-03-26 11:15:48 | Re: pgsql: postgres_fdw: improve security checks |