DROP TYPE v10
DROP TYPE -- remove a type definition.
DROP TYPE removes the type definition. To execute this command you must be a superuser or the owner of the type.
BODY qualifier applies only to object type definitions, not to collection types nor to composite types. If
BODY is specified, only the object type body is removed – the object type specification is not dropped. If
BODY is omitted, both the object type specification and body are removed.
The type will not be deleted if there are other database objects dependent upon the named type.
The name of a type definition to remove.
Drop the object type named
Drop the nested table type named