How to update pg_cast table in Postgres Managed database?

Posted November 29, 2021 107 views
PostgreSQLDigitalOcean Managed PostgreSQL Database


How can I update the pg_cast table?; when i try to update, I am getting below error

ERROR: permission denied for table pg_cast

is there any way to get the required permission?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer


The reason you are receiving these warning messages is that the pg_catalog schema is owned by the Postgres superuser role that users do not have access to.

This schema contains built-in types and functions and is important to our management of the service; without this, some of our monitoring and management code would not be able to function. due to this, we cannot grant ownership of the schema to users.

As we continue to work on improving our products and services, we encourage you to share your thoughts, ideas, or feedback you have at
This will help us to better prioritize features that you feel need more attention.