Difference between revisions of "PostgreSQL superuser"

From wikieduonline
Jump to navigation Jump to search
Line 17: Line 17:
  
 
== Related ==
 
== Related ==
 +
* [[CREATE ROLE]]
 
* [[PostgreSQL: Database roles]]
 
* [[PostgreSQL: Database roles]]
 
* [[root]]
 
* [[root]]

Revision as of 14:58, 18 November 2022

Examples

To grant rds_superuser to a user user:

GRANT rds_superuser TO "your_username";

Output:
GRANT ROLE 


ALTER USER myuser WITH SUPERUSER;
Error: must be superuser to alter superusers


Related

See also

Advertising: