Debian Codegraph @

contrib/test_decoding/expected/slot_creation_error.out

raw
1 Parsed test spec with 2 sessions
2
3 starting permutation: s1_b s1_xid s2_init s1_view_slot s1_cancel_s2 s1_view_slot s1_c
4 step s1_b: BEGIN;
5 step s1_xid: SELECT 'xid' FROM txid_current();
6 ?column?
7 --------
8 xid
9 (1 row)
10
11 step s2_init:
12 SELECT 'init' FROM pg_create_logical_replication_slot('slot_creation_error', 'test_decoding');
13 <waiting ...>
14 step s1_view_slot:
15 SELECT slot_name, slot_type, active FROM pg_replication_slots WHERE slot_name = 'slot_creation_error'
16
17 slot_name |slot_type|active
18 -------------------+---------+------
19 slot_creation_error|logical |t
20 (1 row)
21
22 step s1_cancel_s2:
23 SELECT pg_cancel_backend(pid)
24 FROM pg_stat_activity
25 WHERE application_name = 'isolation/slot_creation_error/s2';
26 <waiting ...>
27 step s2_init: <... completed>
28 ERROR: canceling statement due to user request
29 step s1_cancel_s2: <... completed>
30 pg_cancel_backend
31 -----------------
32 t
33 (1 row)
34
35 step s1_view_slot:
36 SELECT slot_name, slot_type, active FROM pg_replication_slots WHERE slot_name = 'slot_creation_error'
37
38 slot_name|slot_type|active
39 ---------+---------+------
40 (0 rows)
41
42 step s1_c: COMMIT;
43
44 starting permutation: s1_b s1_xid s2_init s1_c s1_view_slot s1_drop_slot
45 step s1_b: BEGIN;
46 step s1_xid: SELECT 'xid' FROM txid_current();
47 ?column?
48 --------
49 xid
50 (1 row)
51
52 step s2_init:
53 SELECT 'init' FROM pg_create_logical_replication_slot('slot_creation_error', 'test_decoding');
54 <waiting ...>
55 step s1_c: COMMIT;
56 step s2_init: <... completed>
57 ?column?
58 --------
59 init
60 (1 row)
61
62 step s1_view_slot:
63 SELECT slot_name, slot_type, active FROM pg_replication_slots WHERE slot_name = 'slot_creation_error'
64
65 slot_name |slot_type|active
66 -------------------+---------+------
67 slot_creation_error|logical |f
68 (1 row)
69
70 step s1_drop_slot:
71 SELECT pg_drop_replication_slot('slot_creation_error');
72
73 pg_drop_replication_slot
74 ------------------------
75
76 (1 row)
77
78
79 starting permutation: s1_b s1_xid s2_init s1_terminate_s2 s1_c s1_view_slot
80 step s1_b: BEGIN;
81 step s1_xid: SELECT 'xid' FROM txid_current();
82 ?column?
83 --------
84 xid
85 (1 row)
86
87 step s2_init:
88 SELECT 'init' FROM pg_create_logical_replication_slot('slot_creation_error', 'test_decoding');
89 <waiting ...>
90 step s1_terminate_s2:
91 SELECT pg_terminate_backend(pid)
92 FROM pg_stat_activity
93 WHERE application_name = 'isolation/slot_creation_error/s2';
94 <waiting ...>
95 step s2_init: <... completed>
96 FATAL: terminating connection due to administrator command
97 server closed the connection unexpectedly
98 This probably means the server terminated abnormally
99 before or while processing the request.
100
101 step s1_terminate_s2: <... completed>
102 pg_terminate_backend
103 --------------------
104 t
105 (1 row)
106
107 step s1_c: COMMIT;
108 step s1_view_slot:
109 SELECT slot_name, slot_type, active FROM pg_replication_slots WHERE slot_name = 'slot_creation_error'
110
111 slot_name|slot_type|active
112 ---------+---------+------
113 (0 rows)
114