客户端配置
# Database administrative login by Unix domain socket
#登陆方式
local all all md5
# TYPE DATABASE USER ADDRESS METHOD
# IPv4 local connections:
#允许登陆IP地址
host all all 0.0.0.0/0 md5
# IPv6 local connections:
host all all ::1/128 md5
# Allow replication connections from localhost,by a user with the
# replication privilege.
#local replication postgres peer
#host replication postgres 127.0.0.1/32 md5
#host replication postgres ::1/128 md5