postgresql_16:7.1.13 ALTER GROUP
PostgreSQL 16 > Reference > SQL Commands > ALTER GROUP
change role name or membership
ALTER GROUP role_specification ADD USER user_name [, ... ]
ALTER GROUP role_specification DROP USER user_name [, ... ]
where role_specification can be:
role_name
| CURRENT_ROLE
| CURRENT_USER
| SESSION_USER
ALTER GROUP group_name RENAME TO new_name
ALTER GROUP role_specification ADD USER user_name [, ... ]
ALTER GROUP role_specification DROP USER user_name [, ... ]
where role_specification can be:
role_name
| CURRENT_ROLE
| CURRENT_USER
| SESSION_USER
ALTER GROUP group_name RENAME TO new_name
Subsections
- postgresql_16:7.1.13.1 Description
- postgresql_16:7.1.13.2 Parameters
- postgresql_16:7.1.13.3 Examples
- postgresql_16:7.1.13.4 Compatibility
- postgresql_16:7.1.13.5 See Also