Exportbinary support function
The exportbinary support function takes as an argument the internal structure for the opaque type and returns a structure that holds the bulk-copy format of the external binary representation of the opaque type.
If you do not provide an exportbinary support function, the database server exports the binary data in the external binary representation of the opaque data type.
mi_impexpbin * ll_longlong_exportbin(ll_longlong_t
*srvr_intrnl_bopy_format);
The ll_longlong_exportbin() function is a cast function from the ll_longlong_t internal structure to the IMPEXPBIN data type. It must be registered as an explicit cast function with the CREATE EXPLICIT CAST statement. For more information, see Create casts for opaque data types.