Re: Running psql in a docker container

From: H <agents(at)meddatainc(dot)com>
To: pgsql-general(at)lists(dot)postgresql(dot)org,Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
Subject: Re: Running psql in a docker container
Date: 2024-07-11 18:28:49
Message-ID: B37AEEB7-108B-4BE6-A245-7405911D7F27@meddatainc.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On July 11, 2024 2:20:43 PM EDT, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>H <agents(at)meddatainc(dot)com> writes:
>> Good question! ”No success” meant that I have not been able to figure
>out how to have new databases default to en_US.UTF-8, instead they
>default to C.UTF-8.
>
>The default for an installation is determined at initdb time, either
>with an explicit locale switch or from the environment locale
>settings.
>
> regards, tom lane

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?

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2024-07-11 19:31:37 Re: Running psql in a docker container
Previous Message David G. Johnston 2024-07-11 18:24:19 Re: Running psql in a docker container