—
NAME
DROP_DOMAIN - remove a domain
SYNOPSIS
bash
DROP DOMAIN [ IF EXISTS ] \nname\n [, ...] [ CASCADE | RESTRICT ]DESCRIPTION
DROP DOMAIN removes a domain. Only the owner of a domain can remove it.
PARAMETERS
IF EXISTS
name
CASCADE
RESTRICT
EXAMPLES
To remove the domain box:
bash
DROP DOMAIN box;COMPATIBILITY
This command conforms to the SQL standard, except for the IF EXISTS option, which is a PostgreSQL extension.
SEE ALSO
CREATE DOMAIN (CREATE_DOMAIN(7)), ALTER DOMAIN (ALTER_DOMAIN(7))