aboutsummaryrefslogtreecommitdiff
path: root/contrib/test_decoding/expected/slot_creation_error.out
blob: 25883b508fbe6e9fd2345bd5303a2275876ab9c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
Parsed test spec with 2 sessions

starting permutation: s1_b s1_xid s2_init s1_view_slot s1_cancel_s2 s1_view_slot s1_c
step s1_b: BEGIN;
step s1_xid: SELECT 'xid' FROM txid_current();
?column?
--------
xid     
(1 row)

step s2_init: 
    SELECT 'init' FROM pg_create_logical_replication_slot('slot_creation_error', 'test_decoding');
 <waiting ...>
step s1_view_slot: 
    SELECT slot_name, slot_type, active FROM pg_replication_slots WHERE slot_name = 'slot_creation_error'

slot_name          |slot_type|active
-------------------+---------+------
slot_creation_error|logical  |t     
(1 row)

step s1_cancel_s2: 
    SELECT pg_cancel_backend(pid)
    FROM pg_stat_activity
    WHERE application_name = 'isolation/slot_creation_error/s2';
 <waiting ...>
step s2_init: <... completed>
ERROR:  canceling statement due to user request
step s1_cancel_s2: <... completed>
pg_cancel_backend
-----------------
t                
(1 row)

step s1_view_slot: 
    SELECT slot_name, slot_type, active FROM pg_replication_slots WHERE slot_name = 'slot_creation_error'

slot_name|slot_type|active
---------+---------+------
(0 rows)

step s1_c: COMMIT;

starting permutation: s1_b s1_xid s2_init s1_c s1_view_slot s1_drop_slot
step s1_b: BEGIN;
step s1_xid: SELECT 'xid' FROM txid_current();
?column?
--------
xid     
(1 row)

step s2_init: 
    SELECT 'init' FROM pg_create_logical_replication_slot('slot_creation_error', 'test_decoding');
 <waiting ...>
step s1_c: COMMIT;
step s2_init: <... completed>
?column?
--------
init    
(1 row)

step s1_view_slot: 
    SELECT slot_name, slot_type, active FROM pg_replication_slots WHERE slot_name = 'slot_creation_error'

slot_name          |slot_type|active
-------------------+---------+------
slot_creation_error|logical  |f     
(1 row)

step s1_drop_slot: 
    SELECT pg_drop_replication_slot('slot_creation_error');

pg_drop_replication_slot
------------------------
                        
(1 row)


starting permutation: s1_b s1_xid s2_init s1_terminate_s2 s1_c s1_view_slot
step s1_b: BEGIN;
step s1_xid: SELECT 'xid' FROM txid_current();
?column?
--------
xid     
(1 row)

step s2_init: 
    SELECT 'init' FROM pg_create_logical_replication_slot('slot_creation_error', 'test_decoding');
 <waiting ...>
step s1_terminate_s2: 
    SELECT pg_terminate_backend(pid)
    FROM pg_stat_activity
    WHERE application_name = 'isolation/slot_creation_error/s2';
 <waiting ...>
step s2_init: <... completed>
FATAL:  terminating connection due to administrator command
server closed the connection unexpectedly
	This probably means the server terminated abnormally
	before or while processing the request.

step s1_terminate_s2: <... completed>
pg_terminate_backend
--------------------
t                   
(1 row)

step s1_c: COMMIT;
step s1_view_slot: 
    SELECT slot_name, slot_type, active FROM pg_replication_slots WHERE slot_name = 'slot_creation_error'

slot_name|slot_type|active
---------+---------+------
(0 rows)