-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LOCALE environment variable doesn't work #4
Comments
Hi. Thank you for feedback.
and is used during cluster initialization. So if you have created container with mounted volume and default In that case you have to create new container with I checked LANG with this
and after starting this container I've got databases with
if this is not resolving your problem, please attach here you |
Actually, I did quite the same as you wrote. This is the relevant part from my docker-compose.yml file:
Information about the db:
Then I created table
which is not correct order. If I use
If I use official postgres image (no alpine - in official postgres alpine image, locale doesn't work), i.e.
the sorting is correct - like this:
|
Thanks for details. I thing i've found what is the problem, but unfortunately we can't do anything about it. Alpine linux is based on musl library instead of glibc. The newest musl version is 1.1.16 and
So we need to wait for new musl and then for alpine version based on newer musl library. |
I've added notice about this issue to readme file: I'll let this issue opened to remember following the musl library development. |
Thank you for offering your container!
I tried to set locale to
cs_CZ.UTF-8
- indocker-compose.yml
- by settingLANG=cs_CZ.UTF-8
, but it seems it doesn't have any effect - records are still sorted as with EN locale. Also, I don't see usingLANG
variable in the whole repo.The text was updated successfully, but these errors were encountered: