Attached a few comment fixes/improvements and a pgindent run (patch 0002-0004)

Now with the added comments, one thing pops out to me: The comments
mention that we use "Monotonic Random", but when I read the spec that
explicitly recommends against using an increment of 1 when using
monotonic random. I feel like if we use an increment of 1, we're
better off going for the "Fixed-Length Dedicated Counter Bits" method
(i.e. change the code to start the counter at 0). See patch 0005 for
an example of that change.

I'm also wondering if we really want to use the extra rand_b bits for
this. The spec says we MAY, but it does remove the amount of
randomness in our UUIDs.

Attachment: v21-0001-Implement-UUID-v7.patch
Description: Binary data

Attachment: v21-0003-Run-pgindent.patch
Description: Binary data

Attachment: v21-0005-Change-to-Fixed-Length-Dedicated-Counter-Bits.patch
Description: Binary data

Attachment: v21-0004-Fix-comments-a-bit.patch
Description: Binary data

Attachment: v21-0002-Fix-typos.patch
Description: Binary data

Reply via email to