| 1 |
Parsed test spec with 3 sessions |
| 2 |
|
| 3 |
starting permutation: s0_init s0_begin s0_savepoint s0_truncate s1_checkpoint s1_get_changes s0_commit s0_begin s0_insert s1_checkpoint s1_get_changes s0_commit s1_get_changes |
| 4 |
step s0_init: SELECT 'init' FROM pg_create_logical_replication_slot('isolation_slot', 'test_decoding'); |
| 5 |
?column? |
| 6 |
-------- |
| 7 |
init |
| 8 |
(1 row) |
| 9 |
|
| 10 |
step s0_begin: BEGIN; |
| 11 |
step s0_savepoint: SAVEPOINT sp1; |
| 12 |
step s0_truncate: TRUNCATE tbl1; |
| 13 |
step s1_checkpoint: CHECKPOINT; |
| 14 |
step s1_get_changes: SELECT data FROM pg_logical_slot_get_changes('isolation_slot', NULL, NULL, 'skip-empty-xacts', '1', 'include-xids', '0'); |
| 15 |
data |
| 16 |
---- |
| 17 |
(0 rows) |
| 18 |
|
| 19 |
step s0_commit: COMMIT; |
| 20 |
step s0_begin: BEGIN; |
| 21 |
step s0_insert: INSERT INTO tbl1 VALUES (1); |
| 22 |
step s1_checkpoint: CHECKPOINT; |
| 23 |
step s1_get_changes: SELECT data FROM pg_logical_slot_get_changes('isolation_slot', NULL, NULL, 'skip-empty-xacts', '1', 'include-xids', '0'); |
| 24 |
data |
| 25 |
--------------------------------------- |
| 26 |
BEGIN |
| 27 |
table public.tbl1: TRUNCATE: (no-flags) |
| 28 |
COMMIT |
| 29 |
(3 rows) |
| 30 |
|
| 31 |
step s0_commit: COMMIT; |
| 32 |
step s1_get_changes: SELECT data FROM pg_logical_slot_get_changes('isolation_slot', NULL, NULL, 'skip-empty-xacts', '1', 'include-xids', '0'); |
| 33 |
data |
| 34 |
------------------------------------------------------------- |
| 35 |
BEGIN |
| 36 |
table public.tbl1: INSERT: val1[integer]:1 val2[integer]:null |
| 37 |
COMMIT |
| 38 |
(3 rows) |
| 39 |
|
| 40 |
?column? |
| 41 |
-------- |
| 42 |
stop |
| 43 |
(1 row) |
| 44 |
|
| 45 |
|
| 46 |
starting permutation: s0_init s0_begin s0_truncate s2_begin s2_truncate s1_checkpoint s1_get_changes s0_commit s0_begin s0_insert s1_checkpoint s1_get_changes s2_commit s1_checkpoint s1_get_changes s0_commit s1_get_changes |
| 47 |
step s0_init: SELECT 'init' FROM pg_create_logical_replication_slot('isolation_slot', 'test_decoding'); |
| 48 |
?column? |
| 49 |
-------- |
| 50 |
init |
| 51 |
(1 row) |
| 52 |
|
| 53 |
step s0_begin: BEGIN; |
| 54 |
step s0_truncate: TRUNCATE tbl1; |
| 55 |
step s2_begin: BEGIN; |
| 56 |
step s2_truncate: TRUNCATE tbl2; |
| 57 |
step s1_checkpoint: CHECKPOINT; |
| 58 |
step s1_get_changes: SELECT data FROM pg_logical_slot_get_changes('isolation_slot', NULL, NULL, 'skip-empty-xacts', '1', 'include-xids', '0'); |
| 59 |
data |
| 60 |
---- |
| 61 |
(0 rows) |
| 62 |
|
| 63 |
step s0_commit: COMMIT; |
| 64 |
step s0_begin: BEGIN; |
| 65 |
step s0_insert: INSERT INTO tbl1 VALUES (1); |
| 66 |
step s1_checkpoint: CHECKPOINT; |
| 67 |
step s1_get_changes: SELECT data FROM pg_logical_slot_get_changes('isolation_slot', NULL, NULL, 'skip-empty-xacts', '1', 'include-xids', '0'); |
| 68 |
data |
| 69 |
--------------------------------------- |
| 70 |
BEGIN |
| 71 |
table public.tbl1: TRUNCATE: (no-flags) |
| 72 |
COMMIT |
| 73 |
(3 rows) |
| 74 |
|
| 75 |
step s2_commit: COMMIT; |
| 76 |
step s1_checkpoint: CHECKPOINT; |
| 77 |
step s1_get_changes: SELECT data FROM pg_logical_slot_get_changes('isolation_slot', NULL, NULL, 'skip-empty-xacts', '1', 'include-xids', '0'); |
| 78 |
data |
| 79 |
--------------------------------------- |
| 80 |
BEGIN |
| 81 |
table public.tbl2: TRUNCATE: (no-flags) |
| 82 |
COMMIT |
| 83 |
(3 rows) |
| 84 |
|
| 85 |
step s0_commit: COMMIT; |
| 86 |
step s1_get_changes: SELECT data FROM pg_logical_slot_get_changes('isolation_slot', NULL, NULL, 'skip-empty-xacts', '1', 'include-xids', '0'); |
| 87 |
data |
| 88 |
------------------------------------------------------------- |
| 89 |
BEGIN |
| 90 |
table public.tbl1: INSERT: val1[integer]:1 val2[integer]:null |
| 91 |
COMMIT |
| 92 |
(3 rows) |
| 93 |
|
| 94 |
?column? |
| 95 |
-------- |
| 96 |
stop |
| 97 |
(1 row) |
| 98 |
|
| 99 |
|
| 100 |
starting permutation: s0_init s0_begin s0_savepoint s0_insert s1_checkpoint s1_get_changes s0_insert2 s0_commit s0_begin s0_insert s1_checkpoint s1_get_changes s0_commit s1_get_changes |
| 101 |
step s0_init: SELECT 'init' FROM pg_create_logical_replication_slot('isolation_slot', 'test_decoding'); |
| 102 |
?column? |
| 103 |
-------- |
| 104 |
init |
| 105 |
(1 row) |
| 106 |
|
| 107 |
step s0_begin: BEGIN; |
| 108 |
step s0_savepoint: SAVEPOINT sp1; |
| 109 |
step s0_insert: INSERT INTO tbl1 VALUES (1); |
| 110 |
step s1_checkpoint: CHECKPOINT; |
| 111 |
step s1_get_changes: SELECT data FROM pg_logical_slot_get_changes('isolation_slot', NULL, NULL, 'skip-empty-xacts', '1', 'include-xids', '0'); |
| 112 |
data |
| 113 |
---- |
| 114 |
(0 rows) |
| 115 |
|
| 116 |
step s0_insert2: INSERT INTO user_cat VALUES (1); |
| 117 |
step s0_commit: COMMIT; |
| 118 |
step s0_begin: BEGIN; |
| 119 |
step s0_insert: INSERT INTO tbl1 VALUES (1); |
| 120 |
step s1_checkpoint: CHECKPOINT; |
| 121 |
step s1_get_changes: SELECT data FROM pg_logical_slot_get_changes('isolation_slot', NULL, NULL, 'skip-empty-xacts', '1', 'include-xids', '0'); |
| 122 |
data |
| 123 |
------------------------------------------------------------- |
| 124 |
BEGIN |
| 125 |
table public.tbl1: INSERT: val1[integer]:1 val2[integer]:null |
| 126 |
table public.user_cat: INSERT: val1[integer]:1 |
| 127 |
COMMIT |
| 128 |
(4 rows) |
| 129 |
|
| 130 |
step s0_commit: COMMIT; |
| 131 |
step s1_get_changes: SELECT data FROM pg_logical_slot_get_changes('isolation_slot', NULL, NULL, 'skip-empty-xacts', '1', 'include-xids', '0'); |
| 132 |
data |
| 133 |
------------------------------------------------------------- |
| 134 |
BEGIN |
| 135 |
table public.tbl1: INSERT: val1[integer]:1 val2[integer]:null |
| 136 |
COMMIT |
| 137 |
(3 rows) |
| 138 |
|
| 139 |
?column? |
| 140 |
-------- |
| 141 |
stop |
| 142 |
(1 row) |
| 143 |
|