Re: UUID v7

Поиск
Список
Период
Сортировка
От Masahiko Sawada
Тема Re: UUID v7
Дата
Msg-id CAD21AoDBZniKA9g0Sf4N+GgCLCGvh-LddSzv20QWJrN7=W-uhA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: UUID v7  (Marcos Pegoraro <marcos@f10.com.br>)
Ответы Re: UUID v7
Список pgsql-hackers
On Fri, Nov 29, 2024 at 11:47 AM Marcos Pegoraro <marcos@f10.com.br> wrote:
>
> Em sex., 29 de nov. de 2024 às 15:49, Masahiko Sawada <sawada.mshk@gmail.com> escreveu:
>>
>>  <function>uuidv7</function> () <returnvalue>uuid</returnvalue>
>
>
> Wouldn't it be better to change this to
>  <function>uuidv7</function> ([interval]) <returnvalue>uuid</returnvalue
> and explain what that param is ?

Yes, the function synopsis in the doc should be either:

uuidv7([interval]) -> uuid

or

uuidv7([shift interval]) -> uuid

Since this function has only one function argument it doesn't
necessarily need an argument name 'shift'. So the proposed description
might be okay but we need to change at least the function synopsis.

Regards,

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



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