Index: doc/src/sgml/libpq.sgml
===================================================================
RCS file: /var/lib/cvs/pgsql-server/doc/src/sgml/libpq.sgml,v
retrieving revision 1.102
diff -c -r1.102 libpq.sgml
*** doc/src/sgml/libpq.sgml	15 Nov 2002 03:11:17 -0000	1.102
--- doc/src/sgml/libpq.sgml	11 Dec 2002 19:49:53 -0000
***************
*** 2136,2149 ****
   <primary>files</primary>
  </indexterm>
  <para>
! <anchor id="pgpassfile"/>
  <indexterm>
   <primary>password</primary>
   <secondary>.pgpass</secondary>
  </indexterm>
! The file <filename>.pgpass</filename> 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:
  <synopsis>
  <replaceable>hostname</replaceable>:<replaceable>port</replaceable>:<replaceable>database</replaceable>:<replaceable>username</replaceable>:<replaceable>password</replaceable>
  </synopsis>
--- 2136,2149 ----
   <primary>files</primary>
  </indexterm>
  <para>
! <anchor id="pgpassfile">
  <indexterm>
   <primary>password</primary>
   <secondary>.pgpass</secondary>
  </indexterm>
! The <filename>.pgpass</filename> 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:
  <synopsis>
  <replaceable>hostname</replaceable>:<replaceable>port</replaceable>:<replaceable>database</replaceable>:<replaceable>username</replaceable>:<replaceable>password</replaceable>
  </synopsis>
***************
*** 2155,2161 ****
  <para>
  The permissions on <filename>.pgpass</filename> must disallow any
  access to world or group; achieve this by the command
! <command>chmod 0600 .pgaccess</command>.
  If the permissions are less strict than this, the file will be ignored.
  </para>
  </sect1>
--- 2155,2161 ----
  <para>
  The permissions on <filename>.pgpass</filename> must disallow any
  access to world or group; achieve this by the command
! <command>chmod 0600 ~/.pgpass</command>.
  If the permissions are less strict than this, the file will be ignored.
  </para>
  </sect1>
