Skip to content

Instantly share code, notes, and snippets.

@andrewhl
Created January 5, 2015 19:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andrewhl/768ba7813d4c05e62a48 to your computer and use it in GitHub Desktop.
Save andrewhl/768ba7813d4c05e62a48 to your computer and use it in GitHub Desktop.
# TYPE DATABASE USER ADDRESS METHOD
# "local" is for Unix domain socket connections only
local all all peer
# IPv4 local connections:
host all all 127.0.0.1/32 ident
# IPv6 local connections:
host all all ::1/128 ident
# Allow replication connections from localhost, by a user with the
# replication privilege.
#local replication postgres peer
#host replication postgres 127.0.0.1/32 ident
#host replication postgres ::1/128 ident
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment