From: | Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Christoph Moench-Tegeder <cmt(at)burggraben(dot)net> |
Cc: | pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, Andrew Dunstan <andrew(at)dunslane(dot)net> |
Subject: | Re: locale -a missing on Alpine Linux? |
Date: | 2022-11-17 11:21:09 |
Message-ID: | 8ae3005b-933b-d3e7-9770-dfb4d3235778@enterprisedb.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On 16.11.22 20:25, Tom Lane wrote:
> Christoph Moench-Tegeder <cmt(at)burggraben(dot)net> writes:
>> ## Peter Eisentraut (peter(dot)eisentraut(at)enterprisedb(dot)com):
>>> First of all, is this a standard installation of this OS, or is perhaps
>>> something incomplete, broken, or unusual about the current OS installation?
>
>> Alpine uses musl libc, on which you need package musl-locales to get
>> a /usr/bin/locale.
>> https://pkgs.alpinelinux.org/package/edge/community/x86/musl-locales
>
> Ah. And that also shows that if you didn't install that package,
> you don't have any locales either, except presumably C/POSIX.
>
> So probably we should treat failure of the locale command as okay
> and just press on with no non-built-in locales.
That's basically what we had before, so I have just reverted that part
of my original patch.
From | Date | Subject | |
---|---|---|---|
Next Message | Tomas Vondra | 2022-11-17 11:39:49 | Re: logical decoding and replication of sequences, take 2 |
Previous Message | Thom Brown | 2022-11-17 11:20:48 | Re: [PoC] Reducing planning time when tables have many partitions |