↑↓ select ↵ open ⌫ change scope Open full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

SQL Commands / Roles & Privileges

remove a database role

Reading PG 18current·documented in 28 of 30 versions, 7.0 to 20

Syntax

DROP GROUP [ IF EXISTS ] name [, ...]
Syntax diagrams

Read left to right. Branches are choices, bypasses are optional, loops repeat. Select an underlined parameter to open its rule.

DROP GROUP IF EXISTS name ,

Description

DROP GROUP is now an alias for DROP ROLE.

Compatibility

There is no DROP GROUP statement in the SQL standard.

See Also

DROP ROLE
Version history 7
  1. 8.1 → 8.2 changed
  2. 8.0 → 8.1 changed
  3. 7.4 → 8.0 changed
  4. 7.3 → 7.4 changed
  5. 7.1 → 7.2 changed
  6. 7.0 → 7.1 changed
  7. 6.5 → 7.0 added

Related entries

Definition snapshot: b7bd9cda · English manual source