Commit ffef9a9d authored by Bruce Momjian's avatar Bruce Momjian

Clarify PGPASSWORD usage:

! 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">).
parent 891497d3
<!-- <!--
$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"> <chapter id="libpq">
...@@ -3691,9 +3691,11 @@ sets the user name used to connect to the database. ...@@ -3691,9 +3691,11 @@ sets the user name used to connect to the database.
</indexterm> </indexterm>
<envar>PGPASSWORD</envar> <envar>PGPASSWORD</envar>
sets the password used if the server demands password sets the password used if the server demands password
authentication. This environment variable is not recommended for security authentication. Use of this environment variable is not
reasons; instead consider using the <filename>~/.pgpass</> recommended for security reasons (some operating systems
file (see <xref linkend="libpq-pgpass">). 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> </para>
</listitem> </listitem>
<listitem> <listitem>
......
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