News for hackers. Stuff that matters.
Re:Transaction Isolation in Postgres by magicalhippo on Monday December 18, 2023 @02:53PM (#38687307)
We use Sybase SQLAnywhere at work, which also implements SERIALIZABLE using locks. Naive me thought that meant a lock on the table, but no, it locks all the rows... Not great for a table with many rows!

We were essentially trying to avoid inserting the same value twice, so we ditched SERIALIZABLE and instead added a unique index along with a retrying loop on the client side.

There are no comments on this comment yet.