Advertisement
Guest User

Untitled

a guest
Dec 7th, 2016
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.77 KB | None | 0 0
  1. 1 pg_hba.conf X
  2. # to SIGHUP the postmaster for the changes to take effect. You can
  3. # use "pg_ctl reload" to do that.
  4.  
  5. # Put your actual configuration here
  6. # ----------------------------------
  7. #
  8. # If you want to allow non-local connections, you need to add more
  9. # "host" records. In that case you will also need to make PostgreSQL
  10. # listen on a non-local interface via the listen_addresses
  11. # configuration parameter, or via the -i or -h command line switches.
  12.  
  13.  
  14.  
  15.  
  16. # DO NOT DISABLE!
  17. # If you change this first entry you will need to make sure that the
  18. # database superuser can access the database using some other method.
  19. # Noninteractive access to all databases is required during automatic
  20. # maintenance (custom daily cronjobs, replication, and similar tasks).
  21. #
  22. # Database administrative login by Unix domain socket
  23. local all postgres peer
  24.  
  25. # TYPE DATABASE USER ADDRESS METHOD
  26. host all all 0.0.0.0/0 trust
  27. # "local" is for Unix domain socket connections only
  28. local all all peer
  29. # IPv4 local connections:
  30. host all all 127.0.0.1/32 md5
  31. # IPv6 local connections:
  32. host all all ::1/128 md5
  33. # Allow replication connections from localhost, by a user with the
  34. # replication privilege.
  35. #local replication postgres peer
  36. #host replication postgres 127.0.0.1/32 md5
  37. #host replication postgres ::1/128 md5
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement