trying to configure postgres and dbi