doc: Fix description of how the default user name is chosen

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: doc: Fix description of how the default user name is chosen
Date: 2022-06-09 15:55:07
Message-ID: CAKFQuwZUhgz=sUi+wGQV-PBTNjMovuA-BOV88RV-Vw0m0drCAg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi.

Reposting this on its own thread.

https://www.postgresql.org/message-id/flat/CAKFQuwby1aMsJDMeibaBaohgoaZhivAo4WcqHC1%3D9-GDZ3TSng%40mail.gmail.com

The default database name is just the user name, not the
operating-system user name.

In passing, the authentication error examples use the phrase
"database user name" in a couple of locations. The word
database in both cases is both unusual and unnecessary for
understanding. The reference to user name means the one in/for the
database unless otherwise specified.

Furthermore, it seems better to tell the reader the likely
reason why the displayed database name happens to be a user name.

This change is probably optional but I think it makes sense:
- The indicated database user name was not found.
+ The indicated user name was not found.

The other changes simply try to avoid the issue altogether.

David J.

Attachment Content-Type Size
0001-doc-Clarify-wording-around-default-database-name-and.patch application/octet-stream 2.0 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David G. Johnston 2022-06-09 15:57:23 doc: Make selectivity example match wording
Previous Message David G. Johnston 2022-06-09 15:43:22 doc: Clarify Routines and Extension Membership