Re: Running psql in a docker container

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: H <agents(at)meddatainc(dot)com>
Cc: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>, PostgreSQL Users Mailing List <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: Running psql in a docker container
Date: 2024-07-11 18:24:19
Message-ID: CAKFQuwZRHNrWPRK5Z64-2Z69L11nzhLz81rea0c=4OhnjrWAyw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, Jul 11, 2024 at 11:16 AM H <agents(at)meddatainc(dot)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.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message H 2024-07-11 18:28:49 Re: Running psql in a docker container
Previous Message Tom Lane 2024-07-11 18:20:43 Re: Running psql in a docker container