DROP_DOMAIN
remove a domain
- Provided by: postgresql-client-12 (Version: 12.22-0ubuntu0.20.04.4)
- Source: postgresql-12
- 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))