Исходный код СУБД RuDB — свободной СУБД с открытым исходным кодом на базе PostgreSQL
rudb
3 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
Parsed test spec with 2 sessions
 
starting permutation: s1_begin s1_lock s2_auth s2_cluster s1_commit s2_reset s2_verify s2_check s1_verify s1_check
step s1_begin: BEGIN;
step s1_lock: LOCK cluster_tab IN SHARE UPDATE EXCLUSIVE MODE;
step s2_auth: SET ROLE regress_cluster_conflict;
step s2_cluster: CLUSTER cluster_tab USING cluster_ind; <waiting ...>
step s1_commit: COMMIT;
step s2_cluster: <... completed>
step s2_reset: RESET ROLE;
step s2_verify: 
    SELECT count(*) FROM cluster_tab;
 
count
-----
  200
(1 row)
 
step s2_check: 
    SELECT ok FROM pg_cfs_check('cluster_tab'::regclass, true);
 
ok
--
t 
(1 row)
 
step s1_verify: 
    SELECT count(*) FROM cluster_tab;
 
count
-----
  200
(1 row)
 
step s1_check: 
    SELECT ok FROM pg_cfs_check('cluster_tab'::regclass, true);
 
ok
--
t 
(1 row)
 
 
starting permutation: s1_begin s2_auth s1_lock s2_cluster s1_commit s2_reset s2_verify s2_check s1_verify s1_check
step s1_begin: BEGIN;
step s2_auth: SET ROLE regress_cluster_conflict;
step s1_lock: LOCK cluster_tab IN SHARE UPDATE EXCLUSIVE MODE;
step s2_cluster: CLUSTER cluster_tab USING cluster_ind; <waiting ...>
step s1_commit: COMMIT;
step s2_cluster: <... completed>
step s2_reset: RESET ROLE;
step s2_verify: 
    SELECT count(*) FROM cluster_tab;
 
count
-----
  200
(1 row)
 
step s2_check: 
    SELECT ok FROM pg_cfs_check('cluster_tab'::regclass, true);
 
ok
--
t 
(1 row)
 
step s1_verify: 
    SELECT count(*) FROM cluster_tab;
 
count
-----
  200
(1 row)
 
step s1_check: 
    SELECT ok FROM pg_cfs_check('cluster_tab'::regclass, true);
 
ok
--
t 
(1 row)