| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | H <agents(at)meddatainc(dot)com> |
| Cc: | pgsql-general(at)lists(dot)postgresql(dot)org, Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com> |
| Subject: | Re: Running psql in a docker container |
| Date: | 2024-07-11 19:48:42 |
| Message-ID: | 2204849.1720727322@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
H <agents(at)meddatainc(dot)com> writes:
> Understood but how should formulate the initdb statement to accomplish what I want on pgsql 16 since the syntax I used for pgsql 13 does not work in my container?
You still haven't shown us the actual error message, so we're all
just guessing.
I will offer a guess though. This *should* work, since Rocky 9
is a direct descendant of RHEL/CentOS 7. The only reason I can
think why it wouldn't is that you haven't installed the OS package
that defines en_US.UTF-8. Try doing "locale -a" and see if
en_US.UTF-8 is among the listed locales.
On my RHEL8 box, it looks like glibc-locale-source is what
provides most non-C locales.
regards, tom lane
| From | Date | Subject | |
|---|---|---|---|
| Next Message | H | 2024-07-11 20:25:39 | Re: Running psql in a docker container |
| Previous Message | Adrian Klaver | 2024-07-11 19:31:37 | Re: Running psql in a docker container |