Hi,
> > Updated patch attaced.
>
> Perhaps bytea_uuid() should check the UUID format. Consider the
> following example:
>
> SELECT uuid_extract_version('\x019a2f859cedffffb99d9c55044a2563'::bytea::uuid);
On the flip side we allow this:
=# select '019a2f85-9ced-ffff-b99d-9c55044a2563' :: uuid;
uuid
--------------------------------------
019a2f85-9ced-ffff-b99d-9c55044a2563
So I guess the patch is fine.
--
Best regards,
Aleksander Alekseev