ALTER ROLE RENAME

Rename an existing role.

NOTE: You cannot use the ALTER ROLE RENAME command on a role added to the Vertica database with the LDAPLink service.

Syntax

ALTER ROLE name RENAME TO new_name;

Parameters

name

The current name of the role that you want to rename.

new_name

The new name for the role.

Privileges

Superuser

Example

=> ALTER ROLE applicationadministrator RENAME TO appadmin;
ALTER ROLE