File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change 1
1
<!--
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 $
3
3
-->
4
4
5
5
<chapter id="libpq">
@@ -2519,10 +2519,13 @@ This file should have lines of the following format:
2519
2519
<synopsis>
2520
2520
<replaceable>hostname</replaceable>:<replaceable>port</replaceable>:<replaceable>database</replaceable>:<replaceable>username</replaceable>:<replaceable>password</replaceable>
2521
2521
</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>.
2526
2529
</para>
2527
2530
<para>
2528
2531
The permissions on <filename>.pgpass</filename> must disallow any
You can’t perform that action at this time.
0 commit comments