3 ms·
This is not true in postgres. When the second transaction tries to update the row, it will wait for the first transaction to commit first and then recheck the W
by singron 3y ago
This is not true in postgres. When the second transaction tries to update the row, it will wait for the first transaction to commit first and then recheck the WHERE.
https://www.postgresql.org/docs/current/transaction-iso.html#XACT-READ-COMMITTED https://www.postgresql.org/docs/current/transaction-iso.html...