Re: Add uuid_to_base32hex() and base32hex_to_uuid() built-in functions - Mailing list pgsql-hackers

From Jelte Fennema-Nio
Subject Re: Add uuid_to_base32hex() and base32hex_to_uuid() built-in functions
Date
Msg-id CAGECzQT_gVVQeXhP23we75norKG64k4XQMAYP6s1B0G--D5uxw@mail.gmail.com
Whole thread Raw
In response to Re: Add uuid_to_base32hex() and base32hex_to_uuid() built-in functions  (Sergey Prokhorenko <sergeyprokhorenko@yahoo.com.au>)
List pgsql-hackers
On Tue, 28 Oct 2025 at 15:29, Sergey Prokhorenko
<sergeyprokhorenko@yahoo.com.au> wrote:
> I believe we should put the discussion about compact UUID text encoding in PostgreSQL on hold for now.

I agree with respect to the dedicated encode_uuid and decode_uuid functions.

But I think having postgres support base32hex in encode/decode for
bytea seems like a sensible thing in any case. As well as conversion
between UUID and bytea. If someone wants to create patches for that,
it seems like there'd be enough support for those to get them merged.



pgsql-hackers by date:

Previous
From: Daniil Davydov
Date:
Subject: Re: Batching in executor
Next
From: Bryan Green
Date:
Subject: [Patch] Windows relation extension failure at 2GB and 4GB