DROP TYPE
Removes a data type.
Synopsis
DROP TYPE [IF EXISTS] <name> [, ...] [CASCADE | RESTRICT]
Description
DROP TYPE
will remove a user-defined data type. Only the owner of a type can remove it.
Parameters
Examples
Remove the data type box
;
DROP TYPE box;
Compatibility
This command is similar to the corresponding command in the SQL standard, apart from the IF EXISTS
option, which is a HAWQ extension. But note that the CREATE TYPE
command and the data type extension mechanisms in HAWQ differ from the SQL standard.