Re: UUID v7

Поиск
Список
Период
Сортировка
От Andrey M. Borodin
Тема Re: UUID v7
Дата
Msg-id 00B784AB-5B52-4CC7-8A0D-B1C0C53B52DC@yandex-team.ru
обсуждение исходный текст
Ответ на Re: UUID v7  (Nikolay Samokhvalov <nik@postgres.ai>)
Ответы Re: UUID v7  (Sergey Prokhorenko <sergeyprokhorenko@yahoo.com.au>)
Re: UUID v7  (Przemysław Sztoch <przemyslaw@sztoch.pl>)
Список pgsql-hackers

> On 25 Jan 2024, at 09:40, Nikolay Samokhvalov <nik@postgres.ai> wrote:
>
> From a practical point of view, these two things are extremely important to have to support partitioning. It is
betterto implement limitations than throw them away. 

Postgres always was a bit hackerish, allowing slightly more then is safe. I.e. you can define immutable function that
isnot really immutable, turn off autovacuum or fsync. Why bother with safety guards here? 
My opinion is that we should have this function to extract timestamp. Even if it can return strange values for
impreciseRFC implementation. 


> On 25 Jan 2024, at 02:15, Jelte Fennema-Nio <postgres@jeltef.nl> wrote:
>
> So +1 for erroring when you provide a timestamp outside of that range
> (either too far in the past or too far in the future).


OK, it seems like we have some consensus on ERRORing..

Do we have any other open items? Does v13 address all open items? Maybe let’s compose better error message?


Best regards, Andrey Borodin.


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: make dist using git archive
Следующее
От: Richard Guo
Дата:
Сообщение: Re: Trivial revise for the check of parameterized partial paths