# TYPE DATABASE USER CIDR-ADDRESS METHOD
local all postgres ident
host all postgres 127.0.0.1/32 ident
host all postgres ::1/128 ident
local sameuser all md5
host sameuser all 127.0.0.1/32 md5
host sameuser all ::1/128 md5
# These lines say that administer (postgres) can connect to any database
# but only when he is logged as postgres in the system, other user
# can connect only to a database with the same name and must provide a correct password.