From: | "Gurjeet Singh" <gurjeet(at)singh(dot)im> |
---|---|
To: | "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, <postgresql(at)complexity(dot)com(dot)au> |
Cc: | <pgsql-docs(at)lists(dot)postgresql(dot)org> |
Subject: | Re: Creating first database |
Date: | 2025-03-29 14:56:48 |
Message-ID: | D8SU63UEWM2W.2G7T8VNS82WBH@singh.im |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-docs |
On Sat Mar 29, 2025 at 6:56 AM PDT, Tom Lane wrote:
> PG Doc comments form <noreply(at)postgresql(dot)org> writes:
>> In the Getting Started section of the documentation which would be used by a
>> new user immediately after installing PostgreSQL, the user is asked to run
>> $ createdb mydb
>> If the database is correctly installed, this first command to be run by the
>> new user inevitably fails with the error:
>> createdb: error: connection to server at "localhost" (::1), port 5432
>> failed: FATAL: password authentication failed for user "Mark"
> We can't really hope to document everything that every packager does
> in the community Postgres documentation, not least because they seldom
> inform us. I suppose it might be helpful to add something along the
> lines of "if you are using a pre-packaged version of Postgres, please
> consult the packager's documentation".
Given that the 'Installation' subsection, before the 'Creating a
Database' subsection within Getting Started, covers the various way
Postgres may be installed, and covers that environment variables may
need to be tweaked to accommodated the differences, I don't feel the
subsequent sections need to repeat how to deal with different types of
installations.
Best regards,
Gurjeet
https://Gurje.et
From | Date | Subject | |
---|---|---|---|
Next Message | David G. Johnston | 2025-03-29 14:58:08 | Re: Documentation for initdb option --waldir |
Previous Message | David G. Johnston | 2025-03-29 14:48:36 | Re: Creating first database |