Specify the database name in a connection string. Right now, we always try to connect to the postgres database. Fix the related error messages.