Re:Moving Away from UUIDs
by Quarrelsome on Monday November 21, 2022 @07:53PM
(#33700396)
AFAIK UUIDs as pks in databases is extremely standard. I would suggest the biggest downside is debugging where writing id = 5 is much easier than id = 'xxxx-xxxx-xxxx-xxxx'.
[ Parent
| on HN ]
On the other hand you won’t get wrong result if you wrote wrong table name. Was hit once. Deleted row from the wrong table.
Re:Moving Away from UUIDs
by Quarrelsome on Tuesday November 22, 2022 @05:16PM
(#33712341)
yeah, I seen bugs in multi-db systems where a dataset gets accidentally composed from data from each due to aligning ids. Was a very strange afternoon.