doc: Fix description of how the default user name is chosen
authorPeter Eisentraut <peter@eisentraut.org>
Thu, 24 Nov 2022 08:04:50 +0000 (09:04 +0100)
committerPeter Eisentraut <peter@eisentraut.org>
Thu, 24 Nov 2022 08:04:50 +0000 (09:04 +0100)
commit385da7306c7fce210bd059ad97ebb3e19699e161
tree8a48d99a07c1b15e833460d4005023439a66503a
parentaf205152ef57cf54730c38342878cb6b9f8ce7a1
doc: Fix description of how the default user name is chosen

This makes the distinction between operating-system user name and
database user name a bit clearer.  It also clarifies that the user
name is determined first, and then the default database name.

Author: David G. Johnston <david.g.johnston@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/CAKFQuwZUhgz=sUi+wGQV-PBTNjMovuA-BOV88RV-Vw0m0drCAg@mail.gmail.com
doc/src/sgml/client-auth.sgml
doc/src/sgml/ref/psql-ref.sgml