↑↓ select↵ open⌫ change scopeOpen full search

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

Wiki / SQL Commands

DROP GROUP

remove a database role

English manual coverage begins with PostgreSQL 6.4. Source history and runtime observations have their own recorded version boundaries.

Reading PG 18·Select a recorded version

anchor
SQL-DROPGROUP
file
sql-dropgroup.html
lang
en
name
DROP GROUP
purpose
remove a database role
purpose zh
移除一个数据库角色
sections same as
Unknown
slug
18
synopsis html
DROP GROUP [ IF EXISTS ] <em class="replaceable"><code>name</code></em> [, ...]
synopsis text
DROP GROUP [ IF EXISTS ] name [, ...]

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 ,

Definition PG 18

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

Compare versions

Source references

Full definition and evidence JSON

Definition sources

center · PostgreSQL 18 · wiki-repair-20261023:f1085650669f4ceb18d294df39485d15c5d1d9690a6db74d363b73c013d7fab6

Text language: en · wiki-repair-20261023:f1085650669f4ceb18d294df39485d15c5d1d9690a6db74d363b73c013d7fab6