| 1 |
Parsed test spec with 2 sessions |
| 2 |
|
| 3 |
starting permutation: insert1 insert2 c1 select2 c2 |
| 4 |
step insert1: INSERT INTO upsert(key, val) VALUES(1, 'insert1') ON CONFLICT (key) DO UPDATE set val = upsert.val || ' updated by insert1'; |
| 5 |
step insert2: INSERT INTO upsert(key, val) VALUES(1, 'insert2') ON CONFLICT (key) DO UPDATE set val = upsert.val || ' updated by insert2'; <waiting ...> |
| 6 |
step c1: COMMIT; |
| 7 |
step insert2: <... completed> |
| 8 |
step select2: SELECT * FROM upsert; |
| 9 |
key|val |
| 10 |
---+-------------------------- |
| 11 |
1|insert1 updated by insert2 |
| 12 |
(1 row) |
| 13 |
|
| 14 |
step c2: COMMIT; |
| 15 |
|
| 16 |
starting permutation: insert1 insert2 a1 select2 c2 |
| 17 |
step insert1: INSERT INTO upsert(key, val) VALUES(1, 'insert1') ON CONFLICT (key) DO UPDATE set val = upsert.val || ' updated by insert1'; |
| 18 |
step insert2: INSERT INTO upsert(key, val) VALUES(1, 'insert2') ON CONFLICT (key) DO UPDATE set val = upsert.val || ' updated by insert2'; <waiting ...> |
| 19 |
step a1: ABORT; |
| 20 |
step insert2: <... completed> |
| 21 |
step select2: SELECT * FROM upsert; |
| 22 |
key|val |
| 23 |
---+------- |
| 24 |
1|insert2 |
| 25 |
(1 row) |
| 26 |
|
| 27 |
step c2: COMMIT; |