From: Laurenz Albe <laurenz.albe@cybertec.at>
To: xinyyc+postgres@gmail.com
To: pgsql-docs@lists.postgresql.org
Subject: Re: Getting started
Date: Mon, 12 Dec 2022 08:20:03 +0100
Message-ID: <29785cbd957449e98c03a77b6b9fb41970a4f1ca.camel@cybertec.at> (raw)
In-Reply-To: <167069800755.1903.2797040477164919245@wrigleys.postgresql.org>
References: <167069800755.1903.2797040477164919245@wrigleys.postgresql.org>
On Sat, 2022-12-10 at 18:46 +0000, PG Doc comments form wrote:
> The following documentation comment has been logged on the website:
>
> Page: https://www.postgresql.org/docs/15/user-manag.html
> Description:
>
> https://www.postgresql.org/docs/current/tutorial-createdb.html
>
> The "getting started" page skips right from the installing to already having
> started the program, but on linux machines, you cannot start psql without
> inputting a special command, "sudo -u postgres psql". Typing psql will make
> the program tell you that your username doesn't exist, and you can't create
> a username for psql without starting psql first. I had to search somewhere
> else to learn that I had to start psql with that special command.
Yes, the "initdb" step is missing.
If we had that, it would be clear that the rest of the chapter assumes that
you are running shell commands with an operating system user whose name
is identical to the bootstrap superuser.
Yours,
Laurenz Albe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-docs@postgresql.org
Cc: laurenz.albe@cybertec.at, xinyyc+postgres@gmail.com, pgsql-docs@lists.postgresql.org
Subject: Re: Getting started
In-Reply-To: <29785cbd957449e98c03a77b6b9fb41970a4f1ca.camel@cybertec.at>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox