| 1 |
Parsed test spec with 3 sessions |
| 2 |
|
| 3 |
starting permutation: s2b s2txid s1init s3b s3txid s2c s2b s2insert s2p s3c s1insert s1start s2cp s1start |
| 4 |
step s2b: BEGIN; |
| 5 |
step s2txid: SELECT pg_current_xact_id() IS NULL; |
| 6 |
?column? |
| 7 |
-------- |
| 8 |
f |
| 9 |
(1 row) |
| 10 |
|
| 11 |
step s1init: SELECT 'init' FROM pg_create_logical_replication_slot('isolation_slot', 'test_decoding', false, true); <waiting ...> |
| 12 |
step s3b: BEGIN; |
| 13 |
step s3txid: SELECT pg_current_xact_id() IS NULL; |
| 14 |
?column? |
| 15 |
-------- |
| 16 |
f |
| 17 |
(1 row) |
| 18 |
|
| 19 |
step s2c: COMMIT; |
| 20 |
step s2b: BEGIN; |
| 21 |
step s2insert: INSERT INTO do_write DEFAULT VALUES; |
| 22 |
step s2p: PREPARE TRANSACTION 'test1'; |
| 23 |
step s3c: COMMIT; |
| 24 |
step s1init: <... completed> |
| 25 |
?column? |
| 26 |
-------- |
| 27 |
init |
| 28 |
(1 row) |
| 29 |
|
| 30 |
step s1insert: INSERT INTO do_write DEFAULT VALUES; |
| 31 |
step s1start: SELECT data FROM pg_logical_slot_get_changes('isolation_slot', NULL, NULL, 'include-xids', 'false', 'skip-empty-xacts', '1'); |
| 32 |
data |
| 33 |
-------------------------------------------- |
| 34 |
BEGIN |
| 35 |
table public.do_write: INSERT: id[integer]:2 |
| 36 |
COMMIT |
| 37 |
(3 rows) |
| 38 |
|
| 39 |
step s2cp: COMMIT PREPARED 'test1'; |
| 40 |
step s1start: SELECT data FROM pg_logical_slot_get_changes('isolation_slot', NULL, NULL, 'include-xids', 'false', 'skip-empty-xacts', '1'); |
| 41 |
data |
| 42 |
-------------------------------------------- |
| 43 |
BEGIN |
| 44 |
table public.do_write: INSERT: id[integer]:1 |
| 45 |
PREPARE TRANSACTION 'test1' |
| 46 |
COMMIT PREPARED 'test1' |
| 47 |
(4 rows) |
| 48 |
|
| 49 |
?column? |
| 50 |
-------- |
| 51 |
stop |
| 52 |
(1 row) |
| 53 |
|