Advertisement
Guest User

Conf PostgreSQL

a guest
Feb 26th, 2017
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. pg_hba.conf
  2. #
  3. # Database administrative login BY UNIX domain SOCKET
  4. local   all             postgres                                peer
  5.  
  6. # TYPE  DATABASE        USER            ADDRESS                 METHOD
  7.  
  8. # "local" is FOR UNIX domain SOCKET connections only
  9. local   all             all                                     peer
  10. # IPv4 local connections:
  11. #host    all             all             127.0.0.1/32            md5
  12. host    all             all             0.0.0.0/0              trust
  13. # IPv6 local connections:
  14. host    all             all             ::1/128                 trust
  15. # Allow replication connections from localhost, BY a user WITH the
  16. # replication privilege.
  17. #local   replication     postgres                                peer
  18. #host    replication     postgres        127.0.0.1/32            md5
  19. #host    replication     postgres        ::1/128                 md5
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement