Re: Running psql in a docker container - Mailing list pgsql-general

From H
Subject Re: Running psql in a docker container
Date
Msg-id B37AEEB7-108B-4BE6-A245-7405911D7F27@meddatainc.com
Whole thread Raw
In response to Re: Running psql in a docker container  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Running psql in a docker container
List pgsql-general
On July 11, 2024 2:20:43 PM EDT, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>H <agents@meddatainc.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
forpgsql 13 does not work in my container? 



pgsql-general by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: Running psql in a docker container
Next
From: Adrian Klaver
Date:
Subject: Re: Running psql in a docker container