Opaque data types
When you create an opaque data type, you define casts to handle conversions between the internal and external representations of the opaque data type. You might also create casts to handle conversions between the opaque data type and other data types in the database.
For information about how to create and register casts for opaque data types, see Create casts for opaque data types.