pg.ddx.io pgsql-docs@postgresql.org mailing list archive
help / color / mirror / Atom feedGetting started
3+ messages / 3 participants
[nested] [flat]
* Getting started
@ 2022-12-10 18:46 PG Doc comments form <noreply@postgresql.org>
2022-12-12 07:20 ` Re: Getting started Laurenz Albe <laurenz.albe@cybertec.at>
0 siblings, 1 reply; 3+ messages in thread
From: PG Doc comments form @ 2022-12-10 18:46 UTC (permalink / raw)
To: pgsql-docs@lists.postgresql.org; +Cc: xinyyc+postgres@gmail.com
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.
https://www.cherryservers.com/blog/how-to-install-and-setup-postgresql-server-on-ubuntu-20-04
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Getting started
2022-12-10 18:46 Getting started PG Doc comments form <noreply@postgresql.org>
@ 2022-12-12 07:20 ` Laurenz Albe <laurenz.albe@cybertec.at>
2023-10-24 21:39 ` Re: Getting started Bruce Momjian <bruce@momjian.us>
0 siblings, 1 reply; 3+ messages in thread
From: Laurenz Albe @ 2022-12-12 07:20 UTC (permalink / raw)
To: xinyyc+postgres@gmail.com; pgsql-docs@lists.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
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Getting started
2022-12-10 18:46 Getting started PG Doc comments form <noreply@postgresql.org>
2022-12-12 07:20 ` Re: Getting started Laurenz Albe <laurenz.albe@cybertec.at>
@ 2023-10-24 21:39 ` Bruce Momjian <bruce@momjian.us>
0 siblings, 0 replies; 3+ messages in thread
From: Bruce Momjian @ 2023-10-24 21:39 UTC (permalink / raw)
To: Laurenz Albe <laurenz.albe@cybertec.at>; +Cc: xinyyc+postgres@gmail.com; pgsql-docs@lists.postgresql.org
xOn Mon, Dec 12, 2022 at 08:20:03AM +0100, Laurenz Albe wrote:
> 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.
I looked at this and initdb is mentioned in the installation section,
and an incorrect user name is mentions as part of craetedb failure. I
don't see what we can add to improve things here.
--
Bruce Momjian <bruce@momjian.us> https://momjian.us
EDB https://enterprisedb.com
Only you can decide what is important to you.
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2023-10-24 21:39 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2022-12-10 18:46 Getting started PG Doc comments form <noreply@postgresql.org>
2022-12-12 07:20 ` Laurenz Albe <laurenz.albe@cybertec.at>
2023-10-24 21:39 ` Bruce Momjian <bruce@momjian.us>
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