Re: [GENERAL] SELECT FOR UPDATE violates READ COMMITTED isolation?
On Wed, Apr 12, 2017 at 3:14 PM, Gavin Wahlwrote: > I think this paragraph explains why it happens: > https://www.postgresql.org/docs/9.6/static/transaction- > iso.html#XACT-READ-COMMITTED. > > > If the first updater commits, the second updater will ignore the row if > the
[GENERAL] SELECT FOR UPDATE violates READ COMMITTED isolation?
I have this table: CREATE TABLE test (id INT PRIMARY KEY); INSERT INTO test VALUES (1); Then I run these two transactions simultaneously: one| two ---+--- BEGIN; |