agora inbox for pgsql-docs@postgresql.org
help / color / mirror / Atom feed[Minor] Duplicated word in "Creating a Database" tutorial
5+ messages / 5 participants
[nested] [flat]
* [Minor] Duplicated word in "Creating a Database" tutorial
@ 2026-09-24 19:58 PG Doc comments form <noreply@postgresql.org>
0 siblings, 1 reply; 5+ messages in thread
From: PG Doc comments form @ 2026-09-24 19:58 UTC (permalink / raw)
To: pgsql-docs@lists.postgresql.org; +Cc: matematica.a3k@gmail.com
The following documentation comment has been logged on the website:
Page: https://www.postgresql.org/docs/18/tutorial-createdb.html
Description:
In https://www.postgresql.org/docs/current/tutorial-createdb.html, in a
footnote says (note the starred ***that***):
"[1] As an explanation for why this works: PostgreSQL user names are
separate from operating system user accounts. When you connect to a
database, you can choose what PostgreSQL user name to connect as; if you
don't, it will default to the same name as your current operating system
account. As it happens, there will always be a PostgreSQL user account that
has the same name as the operating system user that started the server, and
it also happens that ***that*** user always has permission to create
databases. Instead of logging in as that user you can also specify the -U
option everywhere to select a PostgreSQL user name to connect as."
"that" is duplicated and should be removed.
Thanks!
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: [Minor] Duplicated word in "Creating a Database" tutorial
@ 2026-09-25 07:30 Daniel Gustafsson <daniel@yesql.se>
parent: PG Doc comments form <noreply@postgresql.org>
0 siblings, 1 reply; 5+ messages in thread
From: Daniel Gustafsson @ 2026-09-25 07:30 UTC (permalink / raw)
To: matematica.a3k@gmail.com; pgsql-docs@lists.postgresql.org
> On 24 Sep 2026, at 21:58, PG Doc comments form <noreply@postgresql.org> wrote:
> "that" is duplicated and should be removed.
It seems like a correct sentence to me, removing as per your suggestion would
AFAICT make it grammatically incorrect.
--
Daniel Gustafsson
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: [Minor] Duplicated word in "Creating a Database" tutorial
@ 2026-09-25 14:05 David G. Johnston <david.g.johnston@gmail.com>
parent: Daniel Gustafsson <daniel@yesql.se>
0 siblings, 1 reply; 5+ messages in thread
From: David G. Johnston @ 2026-09-25 14:05 UTC (permalink / raw)
To: Daniel Gustafsson <daniel@yesql.se>; +Cc: matematica.a3k@gmail.com <matematica.a3k@gmail.com>; pgsql-docs@lists.postgresql.org <pgsql-docs@lists.postgresql.org>
On Friday, September 25, 2026, Daniel Gustafsson <daniel@yesql.se> wrote:
> > On 24 Sep 2026, at 21:58, PG Doc comments form <noreply@postgresql.org>
> wrote:
>
> > "that" is duplicated and should be removed.
>
> It seems like a correct sentence to me, removing as per your suggestion
> would
> AFAICT make it grammatically incorrect.
>
Probably, but wouldn’t saying “this user” instead of “that user” be equally
correct without making the word “that” serve two roles in the paragraph and
produce this annoying double-that construction?
David J.
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: [Minor] Duplicated word in "Creating a Database" tutorial
@ 2026-09-25 14:47 Tom Lane <tgl@sss.pgh.pa.us>
parent: David G. Johnston <david.g.johnston@gmail.com>
0 siblings, 1 reply; 5+ messages in thread
From: Tom Lane @ 2026-09-25 14:47 UTC (permalink / raw)
To: David G. Johnston <david.g.johnston@gmail.com>; +Cc: Daniel Gustafsson <daniel@yesql.se>; matematica.a3k@gmail.com <matematica.a3k@gmail.com>; pgsql-docs@lists.postgresql.org <pgsql-docs@lists.postgresql.org>
"David G. Johnston" <david.g.johnston@gmail.com> writes:
> On Friday, September 25, 2026, Daniel Gustafsson <daniel@yesql.se> wrote:
>> It seems like a correct sentence to me, removing as per your suggestion
>> would
>> AFAICT make it grammatically incorrect.
> Probably, but wouldn’t saying “this user” instead of “that user” be equally
> correct without making the word “that” serve two roles in the paragraph and
> produce this annoying double-that construction?
It's perfectly good English as-is, and offhand I don't think using
"this" would be an improvement. It's been a long time since high
school English, but I think that "that" is actually more correct;
in context I'd take "this user" to mean your own operating-system
user ID, which was mentioned first. Note that the next sentence also
uses "that user" to refer to the same database user.
regards, tom lane
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: [Minor] Duplicated word in "Creating a Database" tutorial
@ 2026-09-25 18:48 Matemática A3K <matematica.a3k@gmail.com>
parent: Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 0 replies; 5+ messages in thread
From: Matemática A3K @ 2026-09-25 18:48 UTC (permalink / raw)
To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: David G. Johnston <david.g.johnston@gmail.com>; Daniel Gustafsson <daniel@yesql.se>; pgsql-docs@lists.postgresql.org <pgsql-docs@lists.postgresql.org>
On Fri, Sep 25, 2026 at 11:47 AM Tom Lane <tgl@sss.pgh.pa.us> wrote:
> "David G. Johnston" <david.g.johnston@gmail.com> writes:
> > On Friday, September 25, 2026, Daniel Gustafsson <daniel@yesql.se>
> wrote:
> >> It seems like a correct sentence to me, removing as per your suggestion
> >> would
> >> AFAICT make it grammatically incorrect.
>
> > Probably, but wouldn’t saying “this user” instead of “that user” be
> equally
> > correct without making the word “that” serve two roles in the paragraph
> and
> > produce this annoying double-that construction?
>
> It's perfectly good English as-is, and offhand I don't think using
> "this" would be an improvement. It's been a long time since high
> school English, but I think that "that" is actually more correct;
> in context I'd take "this user" to mean your own operating-system
> user ID, which was mentioned first. Note that the next sentence also
> uses "that user" to refer to the same database user.
>
> regards, tom lane
>
After reading the discussion, it now makes sense the sentence, thanks for
the clarification
^ permalink raw reply [nested|flat] 5+ messages in thread
end of thread, other threads:[~2026-09-25 18:48 UTC | newest]
Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2026-09-24 19:58 [Minor] Duplicated word in "Creating a Database" tutorial PG Doc comments form <noreply@postgresql.org>
2026-09-25 07:30 ` Daniel Gustafsson <daniel@yesql.se>
2026-09-25 14:05 ` David G. Johnston <david.g.johnston@gmail.com>
2026-09-25 14:47 ` Tom Lane <tgl@sss.pgh.pa.us>
2026-09-25 18:48 ` Matemática A3K <matematica.a3k@gmail.com>
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox