DROP_DOMAIN
remove a domain
- Provided by: postgresql-client-18 (Version: 18.3-1)
- Source: postgresql-18
- 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))