Debian Codegraph @

contrib/test_decoding/expected/snapshot_transfer.out

raw
1 Parsed test spec with 2 sessions
2
3 starting permutation: s0_begin s0_begin_sub0 s0_log_assignment s0_sub_get_base_snap s1_produce_new_snap s0_insert s0_end_sub0 s0_commit s0_get_changes
4 step s0_begin: BEGIN;
5 step s0_begin_sub0: SAVEPOINT s0;
6 step s0_log_assignment: SELECT pg_current_xact_id() IS NULL;
7 ?column?
8 --------
9 f
10 (1 row)
11
12 step s0_sub_get_base_snap: INSERT INTO dummy VALUES (0);
13 step s1_produce_new_snap: ALTER TABLE harvest ADD COLUMN mangos int;
14 step s0_insert: INSERT INTO harvest VALUES (1, 2, 3);
15 step s0_end_sub0: RELEASE SAVEPOINT s0;
16 step s0_commit: COMMIT;
17 step s0_get_changes: SELECT data FROM pg_logical_slot_get_changes('isolation_slot', NULL, NULL, 'include-xids', '0', 'skip-empty-xacts', '1');
18 data
19 ----------------------------------------------------------------------------------
20 BEGIN
21 table public.dummy: INSERT: i[integer]:0
22 table public.harvest: INSERT: apples[integer]:1 pears[integer]:2 mangos[integer]:3
23 COMMIT
24 (4 rows)
25
26 ?column?
27 --------
28 stop
29 (1 row)
30
31
32 starting permutation: s0_begin s0_begin_sub0 s0_log_assignment s0_begin_sub1 s0_sub_get_base_snap s1_produce_new_snap s0_insert s0_end_sub1 s0_end_sub0 s0_commit s0_get_changes
33 step s0_begin: BEGIN;
34 step s0_begin_sub0: SAVEPOINT s0;
35 step s0_log_assignment: SELECT pg_current_xact_id() IS NULL;
36 ?column?
37 --------
38 f
39 (1 row)
40
41 step s0_begin_sub1: SAVEPOINT s1;
42 step s0_sub_get_base_snap: INSERT INTO dummy VALUES (0);
43 step s1_produce_new_snap: ALTER TABLE harvest ADD COLUMN mangos int;
44 step s0_insert: INSERT INTO harvest VALUES (1, 2, 3);
45 step s0_end_sub1: RELEASE SAVEPOINT s1;
46 step s0_end_sub0: RELEASE SAVEPOINT s0;
47 step s0_commit: COMMIT;
48 step s0_get_changes: SELECT data FROM pg_logical_slot_get_changes('isolation_slot', NULL, NULL, 'include-xids', '0', 'skip-empty-xacts', '1');
49 data
50 ----------------------------------------------------------------------------------
51 BEGIN
52 table public.dummy: INSERT: i[integer]:0
53 table public.harvest: INSERT: apples[integer]:1 pears[integer]:2 mangos[integer]:3
54 COMMIT
55 (4 rows)
56
57 ?column?
58 --------
59 stop
60 (1 row)
61