|
1 | 1 | <!--
|
2 |
| -$PostgreSQL: pgsql/doc/src/sgml/libpq.sgml,v 1.197 2005/10/24 15:38:36 momjian Exp $ |
| 2 | +$PostgreSQL: pgsql/doc/src/sgml/libpq.sgml,v 1.198 2005/10/27 13:53:41 momjian Exp $ |
3 | 3 | -->
|
4 | 4 |
|
5 | 5 | <chapter id="libpq">
|
@@ -3976,12 +3976,14 @@ This file should contain lines of the following format:
|
3976 | 3976 | <replaceable>hostname</replaceable>:<replaceable>port</replaceable>:<replaceable>database</replaceable>:<replaceable>username</replaceable>:<replaceable>password</replaceable>
|
3977 | 3977 | </synopsis>
|
3978 | 3978 | Each of the first four fields may be a literal value, or <literal>*</literal>,
|
3979 |
| -which |
3980 |
| -matches anything. The password field from the first line that matches the |
| 3979 | +which matches anything. The password field from the first line that matches the |
3981 | 3980 | current connection parameters will be used. (Therefore, put more-specific
|
3982 | 3981 | entries first when you are using wildcards.)
|
3983 | 3982 | If an entry needs to contain <literal>:</literal> or
|
3984 | 3983 | <literal>\</literal>, escape this character with <literal>\</literal>.
|
| 3984 | +A hostname of <literal>localhost</> matches both <literal>host</> (TCP) |
| 3985 | +and <literal>local</> (Unix domain socket) connections coming from the |
| 3986 | +local machine. |
3985 | 3987 | </para>
|
3986 | 3988 |
|
3987 | 3989 | <para>
|
|