How to Rename a user in Redshift database

Below is the command to rename a redshift database user:

alter user username rename to new_username;
See also  [Amazon](500310) Invalid operation: permission denied for relation