aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2001-11-28 19:57:36 +0000
committerBruce Momjian <bruce@momjian.us>2001-11-28 19:57:36 +0000
commit534af30cfd07d2b74ffdd0f5d87e45ebf78d275c (patch)
treef79c3dea0b59dc4b1d6bbd948c796a434f60fbf8 /doc/src
parent3312b8ed3cfd4967f6bd566588d581402ad2606b (diff)
downloadpostgresql-534af30cfd07d2b74ffdd0f5d87e45ebf78d275c.tar.gz
postgresql-534af30cfd07d2b74ffdd0f5d87e45ebf78d275c.zip
Document that PGPASSWORD is not secure.
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/libpq++.sgml6
-rw-r--r--doc/src/sgml/libpq.sgml6
2 files changed, 8 insertions, 4 deletions
diff --git a/doc/src/sgml/libpq++.sgml b/doc/src/sgml/libpq++.sgml
index bbfb106068b..3394953d0d7 100644
--- a/doc/src/sgml/libpq++.sgml
+++ b/doc/src/sgml/libpq++.sgml
@@ -1,5 +1,5 @@
<!--
-$Header: /cvsroot/pgsql/doc/src/sgml/Attic/libpq++.sgml,v 1.35 2001/11/21 05:53:41 thomas Exp $
+$Header: /cvsroot/pgsql/doc/src/sgml/Attic/libpq++.sgml,v 1.36 2001/11/28 19:57:36 momjian Exp $
-->
<chapter id="libpqplusplus">
@@ -109,7 +109,9 @@ $Header: /cvsroot/pgsql/doc/src/sgml/Attic/libpq++.sgml,v 1.35 2001/11/21 05:53:
<listitem>
<para>
<envar>PGPASSWORD</envar>
- sets the password used if the backend demands password authentication.
+ sets the password used if the backend demands password
+ authentication. This is not recommended because the password can
+ be read by others using <command>ps -e</command>.
</para>
</listitem>
<listitem>
diff --git a/doc/src/sgml/libpq.sgml b/doc/src/sgml/libpq.sgml
index 8629aa6e558..92d6c13189b 100644
--- a/doc/src/sgml/libpq.sgml
+++ b/doc/src/sgml/libpq.sgml
@@ -1,5 +1,5 @@
<!--
-$Header: /cvsroot/pgsql/doc/src/sgml/libpq.sgml,v 1.80 2001/11/21 22:57:01 tgl Exp $
+$Header: /cvsroot/pgsql/doc/src/sgml/libpq.sgml,v 1.81 2001/11/28 19:57:36 momjian Exp $
-->
<chapter id="libpq">
@@ -2013,7 +2013,9 @@ sets the user name used to connect to the database and for authentication.
<primary><envar>PGPASSWORD</envar></primary>
</indexterm>
<envar>PGPASSWORD</envar>
-sets the password used if the backend demands password authentication.
+sets the password used if the backend demands password
+authentication. This is not recommended because the password can
+be read by others using <command>ps -e</command>.
</para>
</listitem>
<listitem>