use object config instead of uri config for PG