| 1 |
Parsed test spec with 3 sessions |
| 2 |
|
| 3 |
starting permutation: s0_init s0_begin s0_insert1 s1_init s2_checkpoint s2_get_changes_slot0 s0_insert2 s0_commit s1_get_changes_slot0 s1_get_changes_slot1 |
| 4 |
step s0_init: SELECT 'init' FROM pg_create_logical_replication_slot('slot0', 'test_decoding'); |
| 5 |
?column? |
| 6 |
-------- |
| 7 |
init |
| 8 |
(1 row) |
| 9 |
|
| 10 |
step s0_begin: BEGIN; |
| 11 |
step s0_insert1: INSERT INTO tbl VALUES (1); |
| 12 |
step s1_init: SELECT 'init' FROM pg_create_logical_replication_slot('slot1', 'test_decoding'); <waiting ...> |
| 13 |
step s2_checkpoint: CHECKPOINT; |
| 14 |
step s2_get_changes_slot0: SELECT data FROM pg_logical_slot_get_changes('slot0', NULL, NULL, 'skip-empty-xacts', '1', 'include-xids', '0'); |
| 15 |
data |
| 16 |
---- |
| 17 |
(0 rows) |
| 18 |
|
| 19 |
step s0_insert2: INSERT INTO tbl VALUES (2); |
| 20 |
step s0_commit: COMMIT; |
| 21 |
step s1_init: <... completed> |
| 22 |
?column? |
| 23 |
-------- |
| 24 |
init |
| 25 |
(1 row) |
| 26 |
|
| 27 |
step s1_get_changes_slot0: SELECT data FROM pg_logical_slot_get_changes('slot0', NULL, NULL, 'skip-empty-xacts', '1', 'include-xids', '0'); |
| 28 |
data |
| 29 |
----------------------------------------- |
| 30 |
BEGIN |
| 31 |
table public.tbl: INSERT: val1[integer]:1 |
| 32 |
table public.tbl: INSERT: val1[integer]:2 |
| 33 |
COMMIT |
| 34 |
(4 rows) |
| 35 |
|
| 36 |
step s1_get_changes_slot1: SELECT data FROM pg_logical_slot_get_changes('slot1', NULL, NULL, 'skip-empty-xacts', '1', 'include-xids', '0'); |
| 37 |
data |
| 38 |
---- |
| 39 |
(0 rows) |
| 40 |
|
| 41 |
?column? |
| 42 |
-------- |
| 43 |
stop |
| 44 |
(1 row) |
| 45 |
|