Add isolationtester spec for old heapam.c bug
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Fri, 26 Feb 2016 20:11:15 +0000 (17:11 -0300)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Fri, 26 Feb 2016 20:11:15 +0000 (17:11 -0300)
commitc9578135f769072e2597b88402f256a398279c91
tree1e3e2c7d030efb176e3bce875824a57119a17c4d
parent74d58425c70f9f7f1cb5d7f428ceaa1b56aa081d
Add isolationtester spec for old heapam.c bug

In 0e5680f4737a, I fixed a bug in heapam that caused spurious deadlocks
when multiple updates concurrently attempted to modify the old version
of an updated tuple whose new version was key-share locked.  I proposed
an isolationtester spec file that reproduced the bug, but back then
isolationtester wasn't mature enough to be able to run it.  Now that
38f8bdcac498 is in the tree, we can have this spec file too.

Discussion: https://www.postgresql.org/message-id/20141212205254.GC1768%40alvh.no-ip.org
src/test/isolation/expected/tuplelock-update.out [new file with mode: 0644]
src/test/isolation/isolation_schedule
src/test/isolation/specs/tuplelock-update.spec [new file with mode: 0644]