Debian Codegraph @

contrib/test_decoding/expected/subxact_without_top.out

raw
1 Parsed test spec with 3 sessions
2
3 starting permutation: s0_begin s0_first_subxact s2_checkpoint s1_begin s1_dml s0_many_subxacts s0_commit s2_checkpoint s2_get_changes_suppress_output s2_get_changes_suppress_output s1_commit s2_get_changes
4 step s0_begin: BEGIN;
5 step s0_first_subxact:
6 DO LANGUAGE plpgsql $$
7 BEGIN
8 BEGIN
9 INSERT INTO harvest VALUES (41);
10 EXCEPTION WHEN OTHERS THEN RAISE;
11 END;
12 END $$;
13
14 step s2_checkpoint: CHECKPOINT;
15 step s1_begin: BEGIN;
16 step s1_dml: INSERT INTO harvest VALUES (43);
17 step s0_many_subxacts: select subxacts();
18 subxacts
19 --------
20
21 (1 row)
22
23 step s0_commit: COMMIT;
24 step s2_checkpoint: CHECKPOINT;
25 step s2_get_changes_suppress_output: SELECT null n FROM pg_logical_slot_get_changes('isolation_slot', NULL, NULL, 'include-xids', '0', 'skip-empty-xacts', '1') GROUP BY n;
26 n
27 -
28
29 (1 row)
30
31 step s2_get_changes_suppress_output: SELECT null n FROM pg_logical_slot_get_changes('isolation_slot', NULL, NULL, 'include-xids', '0', 'skip-empty-xacts', '1') GROUP BY n;
32 n
33 -
34 (0 rows)
35
36 step s1_commit: COMMIT;
37 step s2_get_changes: SELECT data FROM pg_logical_slot_get_changes('isolation_slot', NULL, NULL, 'include-xids', '0', 'skip-empty-xacts', '1');
38 data
39 ------------------------------------------------
40 BEGIN
41 table public.harvest: INSERT: apples[integer]:43
42 COMMIT
43 (3 rows)
44
45 ?column?
46 --------
47 stop
48 (1 row)
49