4 DROP TYPE — remove a data type
8 DROP TYPE [ IF EXISTS ] name [, ...] [ CASCADE | RESTRICT ]
12 DROP TYPE removes a user-defined data type. Only the owner of a type
18 Do not throw an error if the type does not exist. A notice is
22 The name (optionally schema-qualified) of the data type to
26 Automatically drop objects that depend on the type (such as
27 table columns, functions, and operators), and in turn all
28 objects that depend on those objects (see Section 5.15).
31 Refuse to drop the type if any objects depend on it. This is the
36 To remove the data type box:
41 This command is similar to the corresponding command in the SQL
42 standard, apart from the IF EXISTS option, which is a PostgreSQL
43 extension. But note that much of the CREATE TYPE command and the data
44 type extension mechanisms in PostgreSQL differ from the SQL standard.
48 ALTER TYPE, CREATE TYPE