How to update pg_cast table in Postgres Managed 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?

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.


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.

Regards, Rajkishore