Movatterモバイル変換


[0]ホーム

URL:


Skip to content
DEV Community
Log in Create account

DEV Community

Talha Munir 🇵🇸
Talha Munir 🇵🇸

Posted on • Edited on

What can a pg_ba_admin do and what they can't

Now we will discuss what a pg_ba_admin role can do, and what actions are out of the reach of the user with this role.

What can a pg_ba admin role do:
A user with a pg_ba_admin role can perform many operations typically reserved for the Postgres superuser. For example, they can:

  • Create roles
  • Create Databases
  • Create, modify, and delete any non-superuser role which also includes the setting of passwords.
  • SET Another role for any user except the superuser without the need for a password.
  • Read the data from all the Postgres system catalogs in pg_catalog.
  • Read and write to all user objects such as tables, views, etc.
  • Perform all monitoring functions on the Postgres instance.
  • Install supported extensions for EDB.
  • Grant pg_checkpoint role to itself and to other users.

What a pg_ba_admin can't do:
There are certain roles and actions that can't be performed by pg_ba_admin. Some of them are mentioned below:

  • Can't execute programs on the server.
  • Can't Create tablespaces, casts, operator classes, access methods, and text search templates.
  • Can't read or write files on the server. pg_ba_admin does not have permission to read or write server files.
  • Can't Define LeakProof functions.
  • Can't install unsupported extensions.
  • Can't execute set session authorization.
  • Can't execute reindex system catalogs.
  • Can't create a language with custom handlers.

Top comments(0)

Subscribe
pic
Create template

Templates let you quickly answer FAQs or store snippets for re-use.

Dismiss

Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment'spermalink.

For further actions, you may consider blocking this person and/orreporting abuse

Computer Scientist
  • Location
    Islamabad | Pakistan
  • Education
    National University of Science and Technology
  • Pronouns
    he/him
  • Work
    Associate Software Developer at Bitnine
  • Joined

More fromTalha Munir 🇵🇸

DEV Community

We're a place where coders share, stay up-to-date and grow their careers.

Log in Create account

[8]ページ先頭

©2009-2025 Movatter.jp