For connection to local Postgresql instance using UNIX domain socket set DB_HOST and DB_PASSWD to None.