summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2005-02-26 18:50:44 +0000
committerBruce Momjian <bruce@momjian.us>2005-02-26 18:50:44 +0000
commit9f312cde26a22a4982f197db361dd4edc8ffbbfc (patch)
tree839b820590800e71b33a1a523cfa679346c09530
parenta72fd004bae17fe77f5f6148a5756db7f62e42d7 (diff)
Backpatch clarification of PGPASSWORD to 8.0.X.
-rw-r--r--doc/src/sgml/libpq.sgml10
1 files changed, 6 insertions, 4 deletions
diff --git a/doc/src/sgml/libpq.sgml b/doc/src/sgml/libpq.sgml
index 373c257f539..9e51b7726b7 100644
--- a/doc/src/sgml/libpq.sgml
+++ b/doc/src/sgml/libpq.sgml
@@ -1,5 +1,5 @@
<!--
-$PostgreSQL: pgsql/doc/src/sgml/libpq.sgml,v 1.178 2005/01/14 00:23:21 momjian Exp $
+$PostgreSQL: pgsql/doc/src/sgml/libpq.sgml,v 1.178.4.1 2005/02/26 18:50:44 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 deprecated 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>