DROP TYPE typename
The name of an existing type.
The message returned if the command is successful.
This message occurs if the specified type is not found.
DROP TYPE will remove a user type from the system catalogs.
Only the owner of a type can remove it.
DROP TYPE statement is a Postgres language extension.
Refer to CREATE TYPE for inforamation on how to create types.
It is the user's responsibility to remove any operators, functions, aggregates, access methods, subtypes, and classes that use a deleted type.
If a built-in type is removed, the behavior of the backend is unpredictable.
To remove the box type:
DROP TYPE box
DROP TYPE is a SQL3 statement.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.