Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6859d8c

Browse files
committed
Add mention that .pgpass localhost matches tcp and unix domain sockets.
1 parent0849955 commit6859d8c

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

‎doc/src/sgml/libpq.sgml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
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 $
33
-->
44

55
<chapter id="libpq">
@@ -3976,12 +3976,14 @@ This file should contain lines of the following format:
39763976
<replaceable>hostname</replaceable>:<replaceable>port</replaceable>:<replaceable>database</replaceable>:<replaceable>username</replaceable>:<replaceable>password</replaceable>
39773977
</synopsis>
39783978
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
39813980
current connection parameters will be used. (Therefore, put more-specific
39823981
entries first when you are using wildcards.)
39833982
If an entry needs to contain <literal>:</literal> or
39843983
<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.
39853987
</para>
39863988

39873989
<para>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp