Re: UUID v7

Поиск
Список
Период
Сортировка
От Masahiko Sawada
Тема Re: UUID v7
Дата
Msg-id CAD21AoDRn2jekGnRr6mL1GcuQ=94-UZW+WK_P5BvMgykOUv0PA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: UUID v7  (Sergey Prokhorenko <sergeyprokhorenko@yahoo.com.au>)
Ответы Re: UUID v7
Список pgsql-hackers
On Tue, Nov 26, 2024 at 11:11 AM Sergey Prokhorenko
<sergeyprokhorenko@yahoo.com.au> wrote:
>
> Changing the name uuidv7() to uuid_v7() is a bad idea because the RFC 9562 uses the term UUIDv7, and therefore code
containinguuid_v7() will not be found by searching the web in most cases. 
>
> It makes much more sense to rename it to get_uuidv7(), so that a query for "uuidv7" does not return a bunch of other
unnecessaryfunctions related to UUIDv7. 

Thank you for pointing it out. How about gen_uuidv7() and gen_uuidv4()
as we already have gen_random_uuid()?

Regards,

--
Masahiko Sawada
Amazon Web Services: https://aws.amazon.com



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