UUIDv7
UUID version 7 generation and timestamp extraction functions.
Versions
- PostgreSQL 20 · in-development · improved · minor · 2 commits · +63 / -1 lines
- PostgreSQL 18 · shipped · new · moderate · 2 commits · +397 / -41 lines
- PostgreSQL 17 · shipped · new · moderate · 1 commit · +157 / -1 lines
- PostgreSQL 16 · worked-on · new · moderate
Threads
- Table 9.46. UUID Extraction Functions
- docs: Table 9.46. UUID Extraction Functions
- BUG #19738: `uuidv7(interval)` rejects sub-millisecond timestamps within the final 48-bit millisecond
- Support UUIDv6 in uuid_extract_timestamp()
- uuidv7 improperly accepts dates before 1970-01-01
- Protect against timestamp underflow in uuidv7(interval)
- Missing parentheses
- Fix for typo in UUIDv7 timestamp extraction
- UUID v7
- Update docs for UUID data type
- Unmark gen_random_uuid() function leakproof
- [PATCH] Implement uuid_version()