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