3 ms·
> Also, what’s with the weird UUIDs? Why not use UUIDv7 if you want time-ordered UUIDs? It looks like the rationale for the Tou library is that some systems do
by dragonwriter 2y ago
> Also, what’s with the weird UUIDs? Why not use UUIDv7 if you want time-ordered UUIDs?
It looks like the rationale for the Tou library is that some systems do not accept unfamiliar UUID variants as UUIDs, so a time-ordered ID that looks like a UUIDv4 is safer for some legacy systems than a (newer, and less likely recognized) UUIDv7.
- julik 2y agoThis. We did discover, however, that Postgres will, in fact, swallow a UUIDv7 just fine. After having written that library :-)
- dragonwriter 2y agoI kind of thought it would ingest but not generate unknown UUID versions that nonetheless fit the broader UUID structure, but not having tried I didn't want to bring that up.