Ron Peterson <ron(dot)peterson(at)yellowbank(dot)com> writes:
> I've created my own type: y_octet_16. Now I'm trying to create a CAST
^^^^^^^^^^
> % INSERT INTO bt( name, val ) VALUES
> ( 'aaa', encode( y_uuid_generate(), 'hex' )::y_byte_16 );
> ERROR: type "y_byte_16" does not exist
^^^^^^^^^
Are you sure this isn't just pilot error?
regards, tom lane