doc: Fix description of how the default user name is chosen - Mailing list pgsql-hackers

From David G. Johnston
Subject doc: Fix description of how the default user name is chosen
Date
Msg-id CAKFQuwZUhgz=sUi+wGQV-PBTNjMovuA-BOV88RV-Vw0m0drCAg@mail.gmail.com
Whole thread Raw
Responses Re: doc: Fix description of how the default user name is chosen  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Hi.

Reposting this on its own thread.


    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

pgsql-hackers by date:

Previous
From: "David G. Johnston"
Date:
Subject: doc: Clarify Routines and Extension Membership
Next
From: "David G. Johnston"
Date:
Subject: doc: Make selectivity example match wording