|
7 | 7 | # |
8 | 8 | # This file controls: which hosts are allowed to connect, how clients |
9 | 9 | # 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: |
11 | 11 | # |
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] |
17 | 19 | # |
18 | 20 | # (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. |
19 | 24 | # DATABASE can be "all", "sameuser", "samegroup", a database name (or |
20 | 25 | # a comma-separated list thereof), or a file name prefixed with "@". |
21 | 26 | # USER can be "all", an actual user name or a group name prefixed with |
|