Comment on Testing Postgres race conditions with synchronization barriersparentComments−Diggsey6moStored procedures don't eliminate serialization anomalies unless they are run inside a transaction that is itself SERIALIZABLE.There's essentially no difference between putting the logic in the app vs a stored procedure (other than round trip time)
Comments
Stored procedures don't eliminate serialization anomalies unless they are run inside a transaction that is itself SERIALIZABLE.
There's essentially no difference between putting the logic in the app vs a stored procedure (other than round trip time)