Re: Add uuid_to_base32hex() and base32hex_to_uuid() built-in functions
Jelte Fennema-Nio <postgres@jeltef.nl>
From: Jelte Fennema-Nio <postgres@jeltef.nl>
To: Sergey Prokhorenko <sergeyprokhorenko@yahoo.com.au>
Cc: Andrey Borodin <x4mmm@yandex-team.ru>,
Masahiko Sawada <sawada.mshk@gmail.com>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2025-10-28T23:44:00Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Add base32hex support to encode() and decode() functions.
- 497c1170cb10 19 (unreleased) landed
-
Allow explicit casting between bytea and uuid.
- ba21f5bf8aff 19 (unreleased) landed
-
Add support for base64url encoding and decoding
- e1d917182c19 19 (unreleased) cited
On Tue, 28 Oct 2025 at 22:58, Sergey Prokhorenko <sergeyprokhorenko@yahoo.com.au> wrote: > Where's the best place to discuss this: in this thread or starting a new one? I don't think core Postgres is the place where experimental encodings should be discussed and tried (it would fit great in an extension though). It sounds more like you should create an RFC or ask for feedback from some of the other contributors to the UUIDv7 RFC.