Clarify PGPASSWORD usage:
authorBruce Momjian <bruce@momjian.us>
Sat, 26 Feb 2005 18:39:04 +0000 (18:39 +0000)
committerBruce Momjian <bruce@momjian.us>
Sat, 26 Feb 2005 18:39:04 +0000 (18:39 +0000)
! authentication.  Use of this environment variable is not
! recommended for security reasons (some operating systems
! allow non-root users to see process environment variables via
! <application>ps</>); instead consider using  the
! <filename>~/.pgpass</> file (see <xref linkend="libpq-pgpass">).

doc/src/sgml/libpq.sgml

index 73cee75d483d5c142a0f75037c7e5336a4c8513d..968cb1974946bf71e264e10b44e23104f15d2064 100644 (file)
@@ -1,5 +1,5 @@
 <!--
-$PostgreSQL: pgsql/doc/src/sgml/libpq.sgml,v 1.179 2005/02/26 14:21:40 momjian Exp $
+$PostgreSQL: pgsql/doc/src/sgml/libpq.sgml,v 1.180 2005/02/26 18:39:04 momjian Exp $
 -->
 
  <chapter id="libpq">
@@ -3691,9 +3691,11 @@ sets the user name used to connect to the database.
 </indexterm>
 <envar>PGPASSWORD</envar>
 sets the password used if the server demands password
-authentication.  This environment variable is not recommended for security
-reasons; instead consider using the <filename>~/.pgpass</>
-file (see <xref linkend="libpq-pgpass">).
+authentication.  Use of this environment variable is not 
+recommended for security reasons (some operating systems
+allow non-root users to see process environment variables via
+<application>ps</>); instead consider using  the 
+<filename>~/.pgpass</> file (see <xref linkend="libpq-pgpass">).
 </para>
 </listitem>
 <listitem>