fix postgresql installation