DROP TYPE
Removes a user-defined data type.
Syntax
DROP TYPE [IF EXISTS] type_name
Arguments
[IF EXISTS]
Do not raise error in case there is no type with the specified name.
type_name
The name of the type to be deleted.
Examples
DROP TYPE DayOfWeek; DROP TYPE IF EXISTS DayOfWeek;