DROP_DOMAIN
remove a domain
- Provided by: postgresql-client-16 (Version: 16.14-0ubuntu0.24.04.1)
- Source: postgresql-16
- Report a bug
remove a domain
DROP DOMAIN [ IF EXISTS ] name [, ...] [ CASCADE | RESTRICT ]
DROP DOMAIN removes a domain. Only the owner of a domain can remove it.
IF EXISTS
name
CASCADE
RESTRICT
To remove the domain box:
DROP DOMAIN box;
This command conforms to the SQL standard, except for the IF EXISTS option, which is a PostgreSQL extension.
CREATE DOMAIN (CREATE_DOMAIN(7)), ALTER DOMAIN (ALTER_DOMAIN(7))