Do not enable replication from localhost
[mirror/dsa-puppet.git] / modules / postgres / templates / cluster / pg_hba.conf-head.erb
1 # PostgreSQL Client Authentication Configuration File
2 # ===================================================
3 # maintained via puppet
4
5 # default entries allows local access:
6 ######################################
7 # Database administrative login by Unix domain socket
8 local   all             postgres                                peer
9
10 # "local" is for Unix domain socket connections only
11 local   all             all                                     peer
12 # IPv4 local connections:
13 host    all             all             127.0.0.1/32            md5
14 # IPv6 local connections:
15 host    all             all             ::1/128                 md5
16 # Allow replication connections from localhost, by a user with the
17 # replication privilege.
18 #local   replication     all                                     peer
19 #host    replication     all             127.0.0.1/32            md5
20 #host    replication     all             ::1/128                 md5
21 ######################################
22