Re: UUID v7 - Mailing list pgsql-hackers

From David G. Johnston
Subject Re: UUID v7
Date
Msg-id CAKFQuwYfJ6GRoK-sCsWfFfACX4DfBB4ncmzv3cq7r=iSPi=SJw@mail.gmail.com
Whole thread Raw
In response to Re: UUID v7  ("Daniel Verite" <daniel@manitou-mail.org>)
List pgsql-hackers
On Mon, Feb 17, 2025 at 12:57 PM Sergey Prokhorenko <sergeyprokhorenko@yahoo.com.au> wrote:
On Monday 17 February 2025 at 04:21:31 am GMT+3, Andrew Alsup <bluesbreaker@gmail.com> wrote:


Sergey,

I took a look at your patch for chapter 9.14 "UUID Functions" docs page. You've added some really good content here. I think section 9.14.4. "Deciding Whether and Which UUID to Use" would be better suited for Chapter 8: "Data Types" -- specifically, 8.12. "UUID Type", since the content seems to deal more with the UUID data type than the UUID functions.

Best regards,
Andy A.


________________________________________________

Andrew,

I don't think so. The documentation text specifically concerns identifiers generated by these functions, and not UUID version 4 or 7 in general, or the UUID type itself.


That likely just means we need to talk about the various UUID versions within the data type section.  This is a property of the stored data independent of how those values are generated.  It isn't like this behaves differently if the user computes it in the application and passes it in compared to using the built-in function.

David J.

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Clarification on Role Access Rights to Table Indexes
Next
From: Sami Imseih
Date:
Subject: Re: Proposal - Allow extensions to set a Plan Identifier