config and create pg db
remove deprecated config option