Get the latest tech news
PostgreSQL Maintenance Without Superuser
Learn about PostgreSQL maintenance without superuser privileges. Predefined roles like pg_monitor and pg_maintain provide secure database administration.
The individual roles can be grouped by their functionality and most of them are quite easy to grasp, ranging from simple monitoring access to powerful filesystem operations that require careful consideration. Traditional PostgreSQL administration created an artificial binary choice: either users had basic access with limited capabilities, or they required full superuser privileges for operational tasks. The pattern is established: identify common pain points, create focused roles, eliminate the need for superuser privileges in routine operations.
Or read this on Hacker News