uuidv7 improperly accepts dates before 1970-01-01

Edit
ID 6935
Title uuidv7 improperly accepts dates before 1970-01-01
CI (CFBot) Summary
Stats (from CFBot) Patch count: 3, First patch: +18−0, All patches: +58−0
Tags Bugfix
Created 2026-06-24 15:23:42
Last modified 2026-06-24 15:23:42 (2 hours ago)
Latest email 2026-06-24 17:58:02 (5 minutes ago)
Status
PG20-1 (2026-07-01 – 2026-07-31): Needs review
Target version 19
Authors Baji Shaik (bajishaik)
Reviewers Tristan Partin (tristan957) Become reviewer
Committer
Links
Emails
uuidv7 improperly accepts dates before 1970-01-01
First at 2026-04-25 00:19:44 by Christophe Pettus <xof at thebuild.com>
Latest at 2026-06-24 17:58:02 by "Tristan Partin" <tristan at partin.io>
Latest attachment (0001-Fix-uuidv7-with-pre-epoch-interval-silently-producin.patch) at 2026-06-12 22:34:59 from Baji Shaik <baji.pgdev at gmail.com>
    Attachment (0001-Fix-uuidv7-with-pre-epoch-interval-silently-producin.patch) at 2026-06-12 22:34:59 from Baji Shaik <baji.pgdev at gmail.com> (Patch: Yes)
    Attachment (0001-Fix-uuidv7-with-infinite-interval-causing-integer-ov.patch) at 2026-05-28 01:00:50 from Baji Shaik <baji.pgdev at gmail.com> (Patch: Yes)
    Attachment (0001-uuidv7-fix-negative-shift.diff) at 2026-04-25 00:19:44 from Christophe Pettus <xof at thebuild.com> (Patch: Yes)
History
When Who What
2026-06-24 15:25:52 Tristan Partin (tristan957) Added tristan957 as reviewer
2026-06-24 15:23:42 Baji Shaik (bajishaik) Attached mail thread 799A70FA-6E5C-4118-99EB-2FBBE1CBAC54@thebuild.com
2026-06-24 15:23:42 Baji Shaik (bajishaik) Created patch record
Edit