From: H <agents@meddatainc.com>
To: pgsql-general@lists.postgresql.org
Subject: Issue initializing postgreSQL 13 on CentOS 7 docker
Date: Mon, 15 Feb 2021 20:25:42 -0500
Message-ID: <e037ff41-91d1-c829-0260-e42391424ee1@meddatainc.com> (raw)
I am running postgreSQL 13 server/client successfully on my workstation but am having problems setting it up in a docker container, both running CentOS 7. I have previously run postgreSQL 9.6 successfully in docker but right now I am unable to 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 CentOS 7 although my solution might also rely on fixing the locale situation. Anyway, where would I file a bug? RedHat or here?
I'll be happy to supply more information as needed.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: agents@meddatainc.com
Subject: Re: Issue initializing postgreSQL 13 on CentOS 7 docker
In-Reply-To: <e037ff41-91d1-c829-0260-e42391424ee1@meddatainc.com>
References: <e037ff41-91d1-c829-0260-e42391424ee1@meddatainc.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox