Re: uuidv7 improperly accepts dates before 1970-01-01 - Mailing list pgsql-hackers

From Zsolt Parragi
Subject Re: uuidv7 improperly accepts dates before 1970-01-01
Date
Msg-id CAN4CZFOupdhpOwOJBKpG2F4tJ6WgmoNHMXSAwOZXV=6SpVb_yw@mail.gmail.com
Whole thread
In response to Re: uuidv7 improperly accepts dates before 1970-01-01  (Baji Shaik <baji.pgdev@gmail.com>)
Responses Re: uuidv7 improperly accepts dates before 1970-01-01
List pgsql-hackers
v4 looks good to me, I only have one completely optional nitpick comment:

+-- uuidv7: large future intervals that overflow epoch conversion are rejected
+SELECT uuidv7('292230 years'::interval);
+

There's no overflow anymore with the current patch, so that comment is
somewhat stale. Maybe it could be simply "large future intervals are
rejected"?



pgsql-hackers by date:

Previous
From: Antonin Houska
Date:
Subject: Re: REPACK CONCURRENTLY fails on tables with generated columns
Next
From: Álvaro Herrera
Date:
Subject: Re: Coverage (lcov) failing with inconsistent error in versions 2.x