Difference between revisions of "PostgreSQL: Database roles"
Jump to navigation
Jump to search
Line 29: | Line 29: | ||
== See also == | == See also == | ||
* {{Role}} | * {{Role}} | ||
+ | * {{GRANT}} | ||
* {{PostgreSQL Privileges}} | * {{PostgreSQL Privileges}} | ||
[[Category:PostgreSQL]] | [[Category:PostgreSQL]] |
Revision as of 12:06, 16 December 2022
Create role:
CREATE USER name WITH Role XXX
List users and roles:
Assign roles:
Related terms
CREATE ROLE
,create user
- Schema
GRANT
privileges to rolesSuperuser
rds_superuser
role in AWS RDS- Ansible roles
- ALTER USER myuser WITH SUPERUSER;
- DROP ROLE
- community.postgresql.postgresql_privs
See also
- PostgreSQL: Database roles,
CREATE USER
,CREATE ROLE
,\du, \du+
,create user, Alter user
GRANT
,\ddp
,GRANT USAGE
,GRANT ALL PRIVILEGES
,GRANT SELECT
, View GRANTs on Redshift,has_table_privilege
,has_schema_privilege
,HAS_DATABASE_PRIVILEGE
,SCHEMA
, Privileges,GRANT EXECUTE
- PostgreSQL Privileges, GRANT,
\list+, \du+
Advertising: