CREATE ROLE
Creates a new, empty role. You must then add permissions to the role using one of the GRANT statements.
Syntax
CREATE ROLE role;
Parameters
role |
The name for the new role, where role conforms to conventions described in Identifiers. |
Privileges
Must be a superuser to create a role.
Examples
This example shows to create an empty role called roleA.
=> CREATE ROLE roleA; CREATE ROLE