Skip to content

Commit eea36f6

Browse files
committed
Minor wordsmithing on .pgpass description.
1 parent 05e7dd3 commit eea36f6

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

doc/src/sgml/libpq.sgml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/libpq.sgml,v 1.121 2003/04/28 04:29:11 tgl Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/libpq.sgml,v 1.122 2003/04/28 19:30:49 tgl Exp $
33
-->
44

55
<chapter id="libpq">
@@ -2519,10 +2519,13 @@ This file should have lines of the following format:
25192519
<synopsis>
25202520
<replaceable>hostname</replaceable>:<replaceable>port</replaceable>:<replaceable>database</replaceable>:<replaceable>username</replaceable>:<replaceable>password</replaceable>
25212521
</synopsis>
2522-
Each of these fields may be a literal name or <literal>*</literal>, which
2523-
matches anything. The first matching entry will be used, so put more-specific
2524-
entries first. When an entry contain <literal>:</literal> or
2525-
<literal>\</literal>, it must be escaped with <literal>\</literal>.
2522+
Each of the first four fields may be a literal value, or <literal>*</literal>,
2523+
which
2524+
matches anything. The password field from the first line that matches the
2525+
current connection parameters will be used. (Therefore, put more-specific
2526+
entries first when you are using wildcards.)
2527+
If an entry needs to contain <literal>:</literal> or
2528+
<literal>\</literal>, escape this character with <literal>\</literal>.
25262529
</para>
25272530
<para>
25282531
The permissions on <filename>.pgpass</filename> must disallow any

0 commit comments

Comments
 (0)