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

Commitc346ca8

Browse files
committed
When I sent in the sslmode patch I forgot to update the
comments/examples in pg_hba.conf. This patch remedies that, adds a briefexplanation of the connection types, and adds a missing period in thedocs.Jon Jensen
1 parentd7635e5 commitc346ca8

File tree

2 files changed

+13
-8
lines changed

2 files changed

+13
-8
lines changed

‎doc/src/sgml/client-auth.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/client-auth.sgml,v 1.58 2003/09/12 22:17:22 tgl Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/client-auth.sgml,v 1.59 2003/09/13 16:43:38 momjian Exp $
33
-->
44

55
<chapter id="client-authentication">
@@ -102,7 +102,7 @@ hostnossl <replaceable>database</replaceable> <replaceable>user</replaceable>
102102
<para>
103103
This record matches connection attempts using Unix-domain
104104
sockets. Without a record of this type, Unix-domain socket
105-
connections are disallowed
105+
connections are disallowed.
106106
</para>
107107
</listitem>
108108
</varlistentry>

‎src/backend/libpq/pg_hba.conf.sample

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,20 @@
77
#
88
# This file controls: which hosts are allowed to connect, how clients
99
# are authenticated, which PostgreSQL user names they can use, which
10-
# databases they can access. Records take one offive forms:
10+
# databases they can access. Records take one ofseven forms:
1111
#
12-
# local DATABASE USER METHOD [OPTION]
13-
# host DATABASE USER IP-ADDRESS IP-MASK METHOD [OPTION]
14-
# hostssl DATABASE USER IP-ADDRESS IP-MASK METHOD [OPTION]
15-
# host DATABASE USER IP-ADDRESS/CIDR-MASK METHOD [OPTION]
16-
# hostssl DATABASE USER IP-ADDRESS/CIDR-MASK METHOD [OPTION]
12+
# local DATABASE USER METHOD [OPTION]
13+
# host DATABASE USER IP-ADDRESS IP-MASK METHOD [OPTION]
14+
# hostssl DATABASE USER IP-ADDRESS IP-MASK METHOD [OPTION]
15+
# hostnossl DATABASE USER IP-ADDRESS IP-MASK METHOD [OPTION]
16+
# host DATABASE USER IP-ADDRESS/CIDR-MASK METHOD [OPTION]
17+
# hostssl DATABASE USER IP-ADDRESS/CIDR-MASK METHOD [OPTION]
18+
# hostnossl DATABASE USER IP-ADDRESS/CIDR-MASK METHOD [OPTION]
1719
#
1820
# (The uppercase quantities should be replaced by actual values.)
21+
# The first field is the connection type: "local" is a Unix-domain socket,
22+
# "host" is either a plain or SSL-encrypted TCP/IP socket, "hostssl" is an
23+
# SSL-encrypted TCP/IP socket, and "hostnossl" is a plain TCP/IP socket.
1924
# DATABASE can be "all", "sameuser", "samegroup", a database name (or
2025
# a comma-separated list thereof), or a file name prefixed with "@".
2126
# USER can be "all", an actual user name or a group name prefixed with

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp