Compatibility
This command is similar to the corresponding command in the SQL
standard, apart from the IF EXISTS
option, which is a PostgreSQL extension.
But note that the CREATE TYPE command
and the data type extension mechanisms in
PostgreSQL differ from the SQL standard.