Support UUIDv6 in uuid_extract_timestamp() - Mailing list pgsql-hackers

From Tristan Partin
Subject Support UUIDv6 in uuid_extract_timestamp()
Date
Msg-id DJHJW50YWKIT.XIOT4NOZRQ03@partin.io
Whole thread
Responses Re: Support UUIDv6 in uuid_extract_timestamp()
List pgsql-hackers
UUIDv6 is the same as UUIDv1 with some fields reordered. We already
supported UUIDv1, so let's add support for UUIDv6. Previously, calls to
uuid_extract_timestamp() would return NULL for UUIDv6 values.

Patch 2 only adds comments. I think the bit manipulation is worthy of
comments, but others may disagree.

--
Tristan Partin
PostgreSQL Contributors Team
AWS (https://aws.amazon.com)

Attachment

pgsql-hackers by date:

Previous
From: Christophe Pettus
Date:
Subject: Re: The PostgreSQL C Dialect
Next
From: Jelte Fennema-Nio
Date:
Subject: Re: The PostgreSQL C Dialect