News for hackers. Stuff that matters.
Re:Avoid UUIDv4 Primary Keys by patmorgan23 on Monday December 15, 2025 @12:47PM (#46277807)
Insert order or time is information. And if you depend on that information you are going to be really disappointed when back dated records have to be inserted.
Re:Avoid UUIDv4 Primary Keys by scottlamb on Monday December 15, 2025 @01:05PM (#46278061)
Right, to ensure your clients don't depend on that information, make the key opaque outside the database through methods such as the ones dfox and formerly_proven suggested, as I said.