Исходный код СУБД RuDB — свободной СУБД с открытым исходным кодом на базе PostgreSQL
rudb
2 days ago bd039d1e92813358c5c5a1e346b49074baf513f2
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
Parsed test spec with 3 sessions
 
starting permutation: wait1 cancel3 noop3 wait2 wakeup3 noop2 detach3
injection_points_attach
-----------------------
                       
(1 row)
 
step wait1: SELECT injection_points_run('injection-points-wait'); <waiting ...>
step cancel3: 
    SELECT pg_cancel_backend(pid) FROM pg_stat_activity
      WHERE wait_event = 'injection-points-wait';
 <waiting ...>
step wait1: <... completed>
ERROR:  canceling statement due to user request
step cancel3: <... completed>
pg_cancel_backend
-----------------
t                
(1 row)
 
step noop3: 
step wait2: SELECT injection_points_run('injection-points-wait'); <waiting ...>
step wakeup3: SELECT injection_points_wakeup('injection-points-wait');
injection_points_wakeup
-----------------------
                       
(1 row)
 
step wait2: <... completed>
injection_points_run
--------------------
                    
(1 row)
 
step noop2: 
step detach3: SELECT injection_points_detach('injection-points-wait');
injection_points_detach
-----------------------
                       
(1 row)
 
 
starting permutation: wait1 terminate3 noop3 wait2 wakeup3 noop2 detach3
injection_points_attach
-----------------------
                       
(1 row)
 
step wait1: SELECT injection_points_run('injection-points-wait'); <waiting ...>
step terminate3: 
    SELECT pg_terminate_backend(pid) FROM pg_stat_activity
      WHERE wait_event = 'injection-points-wait';
 <waiting ...>
step wait1: <... 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 terminate3: <... completed>
pg_terminate_backend
--------------------
t                   
(1 row)
 
step noop3: 
step wait2: SELECT injection_points_run('injection-points-wait'); <waiting ...>
step wakeup3: SELECT injection_points_wakeup('injection-points-wait');
injection_points_wakeup
-----------------------
                       
(1 row)
 
step wait2: <... completed>
injection_points_run
--------------------
                    
(1 row)
 
step noop2: 
step detach3: SELECT injection_points_detach('injection-points-wait');
injection_points_detach
-----------------------
                       
(1 row)