Commit ecba519d authored by Tom Lane's avatar Tom Lane

Adjust user-facing documentation to explain why we don't check pgpass

file permissions on Windows.
parent 9cbd0c15
<!-- $PostgreSQL: pgsql/doc/src/sgml/libpq.sgml,v 1.232 2007/02/19 22:06:23 momjian Exp $ --> <!-- $PostgreSQL: pgsql/doc/src/sgml/libpq.sgml,v 1.233 2007/02/20 17:47:04 tgl Exp $ -->
<chapter id="libpq"> <chapter id="libpq">
<title><application>libpq</application> - C Library</title> <title><application>libpq</application> - C Library</title>
...@@ -4337,12 +4337,12 @@ default socket directory) connections coming from the local machine. ...@@ -4337,12 +4337,12 @@ default socket directory) connections coming from the local machine.
</para> </para>
<para> <para>
The permissions on <filename>.pgpass</filename> must disallow any On Unix systems, the permissions on <filename>.pgpass</filename> must disallow
access to world or group; achieve this by the command any access to world or group; achieve this by the command
<command>chmod 0600 ~/.pgpass</command>. <command>chmod 0600 ~/.pgpass</command>.
If the permissions are less strict than this, the file will be ignored. If the permissions are less strict than this, the file will be ignored.
(The file permissions are not currently checked on Microsoft Windows, On Microsoft Windows, the file is stored in a directory that is secure by
however.) default, so no special permissions check is made.
</para> </para>
</sect1> </sect1>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment