| 1 |
Parsed test spec with 2 sessions |
| 2 |
|
| 3 |
starting permutation: s1b s1a s2b s2i s1c s2c s2s |
| 4 |
step s1b: begin; |
| 5 |
step s1a: alter table tpart attach partition tpart_2 for values from (100) to (200); |
| 6 |
step s2b: begin; |
| 7 |
step s2i: insert into tpart values (110,'xxx'), (120, 'yyy'), (150, 'zzz'); <waiting ...> |
| 8 |
step s1c: commit; |
| 9 |
step s2i: <... completed> |
| 10 |
ERROR: new row for relation "tpart_default" violates partition constraint |
| 11 |
step s2c: commit; |
| 12 |
step s2s: select tableoid::regclass, * from tpart; |
| 13 |
tableoid| i|j |
| 14 |
--------+---+--- |
| 15 |
tpart_2 |110|xxx |
| 16 |
tpart_2 |120|yyy |
| 17 |
tpart_2 |150|zzz |
| 18 |
(3 rows) |
| 19 |
|
| 20 |
|
| 21 |
starting permutation: s1b s1a s2b s2i2 s1c s2c s2s |
| 22 |
step s1b: begin; |
| 23 |
step s1a: alter table tpart attach partition tpart_2 for values from (100) to (200); |
| 24 |
step s2b: begin; |
| 25 |
step s2i2: insert into tpart_default (i, j) values (110, 'xxx'), (120, 'yyy'), (150, 'zzz'); <waiting ...> |
| 26 |
step s1c: commit; |
| 27 |
step s2i2: <... completed> |
| 28 |
ERROR: new row for relation "tpart_default" violates partition constraint |
| 29 |
step s2c: commit; |
| 30 |
step s2s: select tableoid::regclass, * from tpart; |
| 31 |
tableoid| i|j |
| 32 |
--------+---+--- |
| 33 |
tpart_2 |110|xxx |
| 34 |
tpart_2 |120|yyy |
| 35 |
tpart_2 |150|zzz |
| 36 |
(3 rows) |
| 37 |
|
| 38 |
|
| 39 |
starting permutation: s1b s2b s2i s1a s2c s1c s2s |
| 40 |
step s1b: begin; |
| 41 |
step s2b: begin; |
| 42 |
step s2i: insert into tpart values (110,'xxx'), (120, 'yyy'), (150, 'zzz'); |
| 43 |
step s1a: alter table tpart attach partition tpart_2 for values from (100) to (200); <waiting ...> |
| 44 |
step s2c: commit; |
| 45 |
step s1a: <... completed> |
| 46 |
ERROR: updated partition constraint for default partition "tpart_default_default" would be violated by some row |
| 47 |
step s1c: commit; |
| 48 |
step s2s: select tableoid::regclass, * from tpart; |
| 49 |
tableoid | i|j |
| 50 |
---------------------+---+--- |
| 51 |
tpart_default_default|110|xxx |
| 52 |
tpart_default_default|120|yyy |
| 53 |
tpart_default_default|150|zzz |
| 54 |
(3 rows) |
| 55 |
|