Re: Add uuid_to_base32hex() and base32hex_to_uuid() built-in functions

Поиск
Список
Период
Сортировка
От Sergey Prokhorenko
Тема Re: Add uuid_to_base32hex() and base32hex_to_uuid() built-in functions
Дата
Msg-id 1522684793.499678.1761419748726@mail.yahoo.com
обсуждение исходный текст
Ответ на Re: Add uuid_to_base32hex() and base32hex_to_uuid() built-in functions  (Andrey Borodin <x4mmm@yandex-team.ru>)
Список pgsql-hackers
> On 25 Oct 2025, at 04:31, Masahiko Sawada <sawada.mshk@gmail.com> wrote:
>
> Or providing
> 'uuid_encode(uuid, format text) -> text' and 'uuid_decode(text, format
> text) -> uuid' might make sense too, but I'm not sure.

On Saturday 25 October 2025 at 09:07:39 pm GMT+3, Andrey Borodin <x4mmm@yandex-team.ru> wrote:
I like the idea, so I drafted a prototype for discussion.
Though I do not see what else methods should be provided along with added one...


Best regards, Andrey Borodin.


If base32hex becomes the default string representation for UUIDs in PostgreSQL, then the canonical UUID string representation may be added into these functions for backward compatibility.

Best regards,
Sergey Prokhorenko







В списке pgsql-hackers по дате отправления: