Re: UUID v7

From: Andrey Borodin <x4mmm(at)yandex-team(dot)ru>
To: Sergey Prokhorenko <sergeyprokhorenko(at)yahoo(dot)com(dot)au>
Cc: Jelte Fennema-Nio <postgres(at)jeltef(dot)nl>, Przemysław Sztoch <przemyslaw(at)sztoch(dot)pl>, Nick Babadzhanian <pgnickb(at)gmail(dot)com>, Mat Arye <mat(at)timescaledb(dot)com>, Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Daniel Gustafsson <daniel(at)yesql(dot)se>, Matthias van de Meent <boekewurm+postgres(at)gmail(dot)com>, Nikolay Samokhvalov <samokhvalov(at)gmail(dot)com>, "Kyzer Davis (kydavis)" <kydavis(at)cisco(dot)com>, Andres Freund <andres(at)anarazel(dot)de>, pgsql-hackers mailing list <pgsql-hackers(at)postgresql(dot)org>, "brad(at)peabody(dot)io" <brad(at)peabody(dot)io>, Kirk Wolak <wolakk(at)gmail(dot)com>
Subject: Re: UUID v7
Date: 2024-01-16 12:15:07
Message-ID: 80E8F728-FC9C-461E-9B61-332E3AAEC066@yandex-team.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> On 5 Jan 2024, at 15:57, Sergey Prokhorenko <sergeyprokhorenko(at)yahoo(dot)com(dot)au> wrote:

Sergey, Przemysław, Jelte, thanks for your feedback.
Here's v9. Changes:
1. Swapped type of the argument to timestamptz in gen_uuid_v7()
2. Renamed get_uuid_v7_time() to uuid_v7_time()
3. Added uuid_ver() and uuid_var().

What do you think?

Best regards, Andrey Borodin.

Attachment Content-Type Size
v9-0001-Implement-UUID-v7-as-per-IETF-draft.patch application/octet-stream 12.6 KB

In response to

  • Re: UUID v7 at 2024-01-05 10:57:47 from Sergey Prokhorenko

Responses

  • Re: UUID v7 at 2024-01-16 13:00:57 from Aleksander Alekseev
  • Re: UUID v7 at 2024-01-16 20:20:58 from Przemysław Sztoch

Browse pgsql-hackers by date

  From Date Subject
Next Message Mats Kindahl 2024-01-16 12:16:27 Re: Add test module for Table Access Method
Previous Message Mats Kindahl 2024-01-16 12:12:52 Re: Add test module for Table Access Method