Issue initializing postgreSQL 13 on CentOS 7 docker
От | H |
---|---|
Тема | Issue initializing postgreSQL 13 on CentOS 7 docker |
Дата | |
Msg-id | e037ff41-91d1-c829-0260-e42391424ee1@meddatainc.com обсуждение исходный текст |
Список | pgsql-general |
I am running postgreSQL 13 server/client successfully on my workstation but am having problems setting it up in a dockercontainer, both running CentOS 7. I have previously run postgreSQL 9.6 successfully in docker but right now I am unableto initialize the database under pg 13. For some reason the following: postgresql-13-setup initdb -E 'UTF8' fails with: systemctl: invalid option -- 'E' The equivalent to the above worked fine when running pg 9.6. I can add that: postgresql-13-setup initdb works fine but then the databases default to SQL ASCII which is not OK. There seems to be some issue with Fedora and later pg versions with respect to locale settings as seen in: https://bugzilla.redhat.com/show_bug.cgi?id=1872511 but I am not certain the same issue applies to my situation. The file glibc-langpack-en does not seem available for CentOS7 although my solution might also rely on fixing the locale situation. Anyway, where would I file a bug? RedHat orhere? I'll be happy to supply more information as needed.
В списке pgsql-general по дате отправления: