This patch fixes a few typos in the documentation for the '~/.pgpass'
libpq feature. Neil Conway
This commit is contained in:
parent
1b706651b6
commit
e60b5d5306
@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
$Header: /cvsroot/pgsql/doc/src/sgml/libpq.sgml,v 1.102 2002/11/15 03:11:17 momjian Exp $
|
$Header: /cvsroot/pgsql/doc/src/sgml/libpq.sgml,v 1.103 2002/12/13 05:49:10 momjian Exp $
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<chapter id="libpq">
|
<chapter id="libpq">
|
||||||
@ -2136,14 +2136,14 @@ for information on correct values for these environment variables.
|
|||||||
<primary>files</primary>
|
<primary>files</primary>
|
||||||
</indexterm>
|
</indexterm>
|
||||||
<para>
|
<para>
|
||||||
<anchor id="pgpassfile"/>
|
<anchor id="pgpassfile">
|
||||||
<indexterm>
|
<indexterm>
|
||||||
<primary>password</primary>
|
<primary>password</primary>
|
||||||
<secondary>.pgpass</secondary>
|
<secondary>.pgpass</secondary>
|
||||||
</indexterm>
|
</indexterm>
|
||||||
The file <filename>.pgpass</filename> in the home directory is a file
|
The <filename>.pgpass</filename> file in a user's home directory is a
|
||||||
that can contain passwords to be used if the connection requires a
|
file that can contain passwords to be used if the connection requires
|
||||||
password. This file should have the format:
|
a password. This file should have the format:
|
||||||
<synopsis>
|
<synopsis>
|
||||||
<replaceable>hostname</replaceable>:<replaceable>port</replaceable>:<replaceable>database</replaceable>:<replaceable>username</replaceable>:<replaceable>password</replaceable>
|
<replaceable>hostname</replaceable>:<replaceable>port</replaceable>:<replaceable>database</replaceable>:<replaceable>username</replaceable>:<replaceable>password</replaceable>
|
||||||
</synopsis>
|
</synopsis>
|
||||||
@ -2155,7 +2155,7 @@ with <literal>\</literal>.
|
|||||||
<para>
|
<para>
|
||||||
The permissions on <filename>.pgpass</filename> must disallow any
|
The permissions on <filename>.pgpass</filename> must disallow any
|
||||||
access to world or group; achieve this by the command
|
access to world or group; achieve this by the command
|
||||||
<command>chmod 0600 .pgaccess</command>.
|
<command>chmod 0600 ~/.pgpass</command>.
|
||||||
If the permissions are less strict than this, the file will be ignored.
|
If the permissions are less strict than this, the file will be ignored.
|
||||||
</para>
|
</para>
|
||||||
</sect1>
|
</sect1>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user