Fix configuration to connect with PostgreSQL database.