News for hackers. Stuff that matters.
Re:Unexpected downsides of UUID keys in PostgreSQL by gregmac on Thursday June 22, 2023 @12:37PM (#36434785)
> UUIDs belong where you can't afford that simplicity. Where you e.g. cannot coordinate the creation of your primary keys. Or where you cannot allow them to be predictable. There you pay the price.

You often don't realize you you have non-simple needs until your application is reasonably mature, and in production. If you already picked integer keys, you now either forever deal with the issues caused by not using UUIDs, or you deal with the unknown-but-non-zero pain of converting to UUIDs.

Re:Unexpected downsides of UUID keys in PostgreSQL by esafak on Wednesday June 28, 2023 @05:06PM (#36512607)
The age old startup bargain: do you want to pay a small cost up front, or a large one later? If only you'd seen it coming!