Database-level privileges
Examples of granting database permissions
USAGE permission
The following code example grants the roledeveloper_role access to use the specified database:
MODIFY permission
The following code example gives the roledeveloper_role permission to alter properties or drop the specified database:
USAGE ANY SCHEMA permission
The following code example grants the roledeveloper_role access to all current and future schemas within the specified database:
VACUUM ANY permission
The following code example gives the roledeveloper_role permission to run VACUUM operations on all current and future tables in the specified database:
ALL permissions
The following code example gives the roledeveloper_role all the direct permissions over database database-1: