Difference between revisions of "PostgreSQL superuser"

From wikieduonline
Jump to navigation Jump to search
Line 19: Line 19:
 
* [[PostgreSQL: Database roles]]
 
* [[PostgreSQL: Database roles]]
 
* [[root]]
 
* [[root]]
 +
* <code>[[DROP DATABASE]]</code>
  
 
== See also ==
 
== See also ==

Revision as of 14:50, 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: