Report this

What is the reason for this report?

Doadmin permissions for spatial_ref_sys in postgis

Posted on November 29, 2019

I’ve created a Managed PostgreSQL Database with the Postgis extension. It creates the spatial_ref_sys table with the list of supported reference projections for spatial queries. I need to add a new projection to spatial_ref_sys but it gives the error: permission denied for table spatial_ref_sys. I’ve used the doadmin user to create the extension and the table spatial_ref_sys is owned by postgres user. I can’t change the ownership, neither the permissions. How can I do that with my user privileges?

Thanks

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.