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

From: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
To: Jeff Davis <pgsql(at)j-davis(dot)com>
Cc: Andres Freund <andres(at)anarazel(dot)de>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: 010_database.pl fails on openbsd w/ LC_ALL=LANG=C
Date: 2023-07-07 19:04:59
Message-ID: CA+hUKGK1OeZ3SH6Gr6qmryt_xwJUy9dcKY5=3LSO9=9bB60_bQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sat, Jul 8, 2023 at 3:52 AM Jeff Davis <pgsql(at)j-davis(dot)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(at)colStrength=primary"?

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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jeff Davis 2023-07-07 19:17:20 Re: 010_database.pl fails on openbsd w/ LC_ALL=LANG=C
Previous Message Jacob Champion 2023-07-07 18:48:26 Re: [PoC] Federated Authn/z with OAUTHBEARER