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

From David G. Johnston
Subject Re: Running psql in a docker container
Date
Msg-id CAKFQuwZRHNrWPRK5Z64-2Z69L11nzhLz81rea0c=4OhnjrWAyw@mail.gmail.com
Whole thread Raw
In response to Re: Running psql in a docker container  (H <agents@meddatainc.com>)
List pgsql-general
On Thu, Jul 11, 2024 at 11:16 AM H <agents@meddatainc.com> wrote:
What is the proper syntax for pgsql 16 for this? I could not get the example given in the docs to work...

The documentation says this still works:

 su - postgres -c "/usr/pgsql-16/bin/initdb -D /var/lib/pgsql/16/data/ -E 'UTF-8' --lc-collate='en_US.UTF-8' --lc-ctype='en_US.UTF-8'"

If it isn't for you please show the evidence of the non-working-ness.

David J.

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Running psql in a docker container
Next
From: H
Date:
Subject: Re: Running psql in a docker container