79497104

Date: 2025-03-10 05:47:25
Score: 0.5
Natty:
Report link

"azure_pg_admi" is not the highest level role in Azure PosetgreSQL Database.

Since the "azure_pg_admi" role does not have superuser privileges, this is why you're encountering permission issues when trying to modify ownership of a database or perform other administrative tasks.

A superuser role is required to change database ownership or perform certain other high-level operations in PostgreSQL.

In Azure Database for PostgreSQL (which is a managed service), superuser access is not granted to customers under normal circumstances. Azure maintains tight control over the server-level operations and infrastructure to ensure security, stability, and consistency of the service. In reference to this, you can also check the Microsoft documentation that I've attached where this is clearly mentioned:

https://learn.microsoft.com/en-us/azure/postgresql/flexible-server/how-to-create-users

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Mihir Saxena