|
|
|
|
|
by sujeetsr
4502 days ago
|
|
"The reason for this is that transactions just serialize the execution, they don't guarantee any atomicity of independent row updates. After the delete happens the second transaction gets a chance to run and the update will fail because it no longer sees a row"
Umm - I thought everything in a transaction can be treated as atomic wrt to other transactions.. ie they don't see "in between" states? |
|
http://www.postgresql.org/docs/current/static/transaction-is...