Re: psql tests hangs

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Kirk Wolak <wolakk(at)gmail(dot)com>
Cc: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>, Daniel Gustafsson <daniel(at)yesql(dot)se>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Andrey Borodin <x4mmm(at)yandex-team(dot)ru>
Subject: Re: psql tests hangs
Date: 2023-05-12 00:08:30
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Kirk Wolak <wolakk(at)gmail(dot)com> writes:
> Can you change the 0.01 to just 1 or 0?
> I assume it will work then! (and better than a full removal)?

IMO the point of that test is largely to exercise this locale-dependent
behavior, so I'm very unwilling to dumb it down to that extent.

What seems to be happening is that the spawned psql process is making
a different choice about what the LC_NUMERIC locale is than its parent
perl process did. That seems like it might be a bug in itself, since
POSIX is pretty clear about how you're supposed to derive the locale
from the relevant environment variables. But maybe it's Perl's bug?

regards, tom lane

In response to


Browse pgsql-hackers by date

  From Date Subject
Next Message Gurjeet Singh 2023-05-12 00:29:40 Postgres Index Advisor status and GSoC (was: Re: Returning to Postgres community work)
Previous Message Thomas Munro 2023-05-11 23:37:33 Re: Large files for relations