parsed.org

Tips by tag: local

PostgreSQL Authentication by xinu on Apr 29, 2008 08:28 PM

If you intend to use passwords for local database authentication, you'll need to make an adjustment to the pg_hba.conf file:

# TYPE  DATABASE    USER        IP-ADDRESS        IP-MASK        METHOD

#local   all         all                                          ident sameuser
local   all         all                                          password
authenticationidentlocalpasswordpostgresqlpsql
RSS