Re: 010_database.pl fails on openbsd w/ LC_ALL=LANG=C

Thomas Munro <thomas.munro@gmail.com>

From: Thomas Munro <thomas.munro@gmail.com>
To: Jeff Davis <pgsql@j-davis.com>
Cc: Andres Freund <andres@anarazel.de>, pgsql-hackers@postgresql.org
Date: 2023-07-07T19:04:59Z
Lists: pgsql-hackers
On Sat, Jul 8, 2023 at 3:52 AM Jeff Davis <pgsql@j-davis.com> wrote:
> The test is assuming that locale "@colStrength=primary" is valid for
> ICU but invalid for libc. It seems that on that platform, setlocale()
> is accepting it?
>
> If some libc implementations are too permissive, I might need to just
> disable this test. But if we can find a locale that is consistently
> acceptable in ICU but invalid in libc, then I can keep it... perhaps
> "und@colStrength=primary"?

Doesn't look too hopeful: https://man.openbsd.org/setlocale.3



Commits

  1. ICU: remove negative test that fails to fail.