diff --git a/doc/src/sgml/libpq.sgml b/doc/src/sgml/libpq.sgml index e46693a2f6..29c229da31 100644 --- a/doc/src/sgml/libpq.sgml +++ b/doc/src/sgml/libpq.sgml @@ -1,5 +1,5 @@ @@ -2136,14 +2136,14 @@ for information on correct values for these environment variables. files - + password .pgpass -The file .pgpass in the home directory is a file -that can contain passwords to be used if the connection requires a -password. This file should have the format: +The .pgpass file in a user's home directory is a +file that can contain passwords to be used if the connection requires +a password. This file should have the format: hostname:port:database:username:password @@ -2155,7 +2155,7 @@ with \. The permissions on .pgpass must disallow any access to world or group; achieve this by the command -chmod 0600 .pgaccess. +chmod 0600 ~/.pgpass. If the permissions are less strict than this, the file will be ignored.