Skip to main content
Edit this page

role

ALTER ROLE

Changes roles.

Syntax:

ALTER ROLE [IF EXISTS] name1 [RENAME TO new_name |, name2 [,...]] 
[ON CLUSTER cluster_name]
[ADD|MODIFY SETTINGS variable [= value] [MIN [=] min_value] [MAX [=] max_value] [CONST|READONLY|WRITABLE|CHANGEABLE_IN_READONLY] | PROFILE 'profile_name'] [,...]
[DROP SETTINGS variable [,...] ]
[ADD PROFILES 'profile_name' [,...] ]
[DROP PROFILES 'profile_name' [,...] ]
[DROP ALL PROFILES]
[DROP ALL SETTINGS]