logoalt Hacker News

sergeyprokhorenyesterday at 6:04 PM1 replyview on HN

Bad idea. In PostgreSQL 18 the optional parameter shift will shift the computed timestamp by the given interval

https://www.postgresql.org/docs/18/functions-uuid.html


Replies

michelppyesterday at 7:21 PM

That still exposes the timestamp, and the shift just drops precision, so I'm not sure what you're going for here.