Ensure postgres is installed and default host is set.