DROP_DOMAIN
remove a domain
- Provided by: postgres-xc-client (Version: 1.1-2ubuntu2)
- Source: postgres-xc
- Report a bug
remove a domain
DROP DOMAIN [ IF EXISTS ] name [, ...] [ CASCADE | RESTRICT ]
The following description applies both to Postgres-XC and PostgreSQL if not described explicitly.
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 Postgres-XC extension inheritedofrm PostgreSQL.
CREATE DOMAIN (CREATE_DOMAIN(7)), ALTER DOMAIN (ALTER_DOMAIN(7))