Greetings!
This behavior is expected and by design. The Azure superuser role is responsible for managing system-level operations and maintenance tasks in Azure Database for PostgreSQL. The tables pg_stat_statements
and pg_buffercache
are system tables that are not created by the customer. These tables require superuser privileges to grant permissions for monitoring and performance tuning purposes. Therefore, seeing the azure_superuser as the grantor of permissions on these tables is normal and necessary for the proper functioning of the database system.
Hope this helps. If you have any follow-up questions, please let me know. I would be happy to help.
Please do not forget to "up-vote" wherever the information provided helps you, as this can be beneficial to other community members.
Regards
Geetha