add postgres path, resource->res