| 1 |
Parsed test spec with 2 sessions |
| 2 |
|
| 3 |
starting permutation: wxry1 c1 r2 wyrx2 c2 |
| 4 |
step wxry1: INSERT INTO child (parent_id) VALUES (0); |
| 5 |
step c1: COMMIT; |
| 6 |
step r2: SELECT TRUE; |
| 7 |
?column? |
| 8 |
-------- |
| 9 |
t |
| 10 |
(1 row) |
| 11 |
|
| 12 |
step wyrx2: DELETE FROM parent WHERE parent_id = 0; |
| 13 |
ERROR: child row exists |
| 14 |
step c2: COMMIT; |
| 15 |
|
| 16 |
starting permutation: wxry1 r2 c1 wyrx2 c2 |
| 17 |
step wxry1: INSERT INTO child (parent_id) VALUES (0); |
| 18 |
step r2: SELECT TRUE; |
| 19 |
?column? |
| 20 |
-------- |
| 21 |
t |
| 22 |
(1 row) |
| 23 |
|
| 24 |
step c1: COMMIT; |
| 25 |
step wyrx2: DELETE FROM parent WHERE parent_id = 0; |
| 26 |
ERROR: could not serialize access due to read/write dependencies among transactions |
| 27 |
step c2: COMMIT; |
| 28 |
|
| 29 |
starting permutation: wxry1 r2 wyrx2 c1 c2 |
| 30 |
step wxry1: INSERT INTO child (parent_id) VALUES (0); |
| 31 |
step r2: SELECT TRUE; |
| 32 |
?column? |
| 33 |
-------- |
| 34 |
t |
| 35 |
(1 row) |
| 36 |
|
| 37 |
step wyrx2: DELETE FROM parent WHERE parent_id = 0; |
| 38 |
step c1: COMMIT; |
| 39 |
step c2: COMMIT; |
| 40 |
ERROR: could not serialize access due to read/write dependencies among transactions |
| 41 |
|
| 42 |
starting permutation: wxry1 r2 wyrx2 c2 c1 |
| 43 |
step wxry1: INSERT INTO child (parent_id) VALUES (0); |
| 44 |
step r2: SELECT TRUE; |
| 45 |
?column? |
| 46 |
-------- |
| 47 |
t |
| 48 |
(1 row) |
| 49 |
|
| 50 |
step wyrx2: DELETE FROM parent WHERE parent_id = 0; |
| 51 |
step c2: COMMIT; |
| 52 |
step c1: COMMIT; |
| 53 |
ERROR: could not serialize access due to read/write dependencies among transactions |
| 54 |
|
| 55 |
starting permutation: r2 wxry1 c1 wyrx2 c2 |
| 56 |
step r2: SELECT TRUE; |
| 57 |
?column? |
| 58 |
-------- |
| 59 |
t |
| 60 |
(1 row) |
| 61 |
|
| 62 |
step wxry1: INSERT INTO child (parent_id) VALUES (0); |
| 63 |
step c1: COMMIT; |
| 64 |
step wyrx2: DELETE FROM parent WHERE parent_id = 0; |
| 65 |
ERROR: could not serialize access due to read/write dependencies among transactions |
| 66 |
step c2: COMMIT; |
| 67 |
|
| 68 |
starting permutation: r2 wxry1 wyrx2 c1 c2 |
| 69 |
step r2: SELECT TRUE; |
| 70 |
?column? |
| 71 |
-------- |
| 72 |
t |
| 73 |
(1 row) |
| 74 |
|
| 75 |
step wxry1: INSERT INTO child (parent_id) VALUES (0); |
| 76 |
step wyrx2: DELETE FROM parent WHERE parent_id = 0; |
| 77 |
step c1: COMMIT; |
| 78 |
step c2: COMMIT; |
| 79 |
ERROR: could not serialize access due to read/write dependencies among transactions |
| 80 |
|
| 81 |
starting permutation: r2 wxry1 wyrx2 c2 c1 |
| 82 |
step r2: SELECT TRUE; |
| 83 |
?column? |
| 84 |
-------- |
| 85 |
t |
| 86 |
(1 row) |
| 87 |
|
| 88 |
step wxry1: INSERT INTO child (parent_id) VALUES (0); |
| 89 |
step wyrx2: DELETE FROM parent WHERE parent_id = 0; |
| 90 |
step c2: COMMIT; |
| 91 |
step c1: COMMIT; |
| 92 |
ERROR: could not serialize access due to read/write dependencies among transactions |
| 93 |
|
| 94 |
starting permutation: r2 wyrx2 wxry1 c1 c2 |
| 95 |
step r2: SELECT TRUE; |
| 96 |
?column? |
| 97 |
-------- |
| 98 |
t |
| 99 |
(1 row) |
| 100 |
|
| 101 |
step wyrx2: DELETE FROM parent WHERE parent_id = 0; |
| 102 |
step wxry1: INSERT INTO child (parent_id) VALUES (0); |
| 103 |
step c1: COMMIT; |
| 104 |
step c2: COMMIT; |
| 105 |
ERROR: could not serialize access due to read/write dependencies among transactions |
| 106 |
|
| 107 |
starting permutation: r2 wyrx2 wxry1 c2 c1 |
| 108 |
step r2: SELECT TRUE; |
| 109 |
?column? |
| 110 |
-------- |
| 111 |
t |
| 112 |
(1 row) |
| 113 |
|
| 114 |
step wyrx2: DELETE FROM parent WHERE parent_id = 0; |
| 115 |
step wxry1: INSERT INTO child (parent_id) VALUES (0); |
| 116 |
step c2: COMMIT; |
| 117 |
step c1: COMMIT; |
| 118 |
ERROR: could not serialize access due to read/write dependencies among transactions |
| 119 |
|
| 120 |
starting permutation: r2 wyrx2 c2 wxry1 c1 |
| 121 |
step r2: SELECT TRUE; |
| 122 |
?column? |
| 123 |
-------- |
| 124 |
t |
| 125 |
(1 row) |
| 126 |
|
| 127 |
step wyrx2: DELETE FROM parent WHERE parent_id = 0; |
| 128 |
step c2: COMMIT; |
| 129 |
step wxry1: INSERT INTO child (parent_id) VALUES (0); |
| 130 |
ERROR: parent row missing |
| 131 |
step c1: COMMIT; |