File tree 2 files changed +11
-11
lines changed 2 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -23,14 +23,14 @@ step s2_tab_u:
23
23
update foo set name = name || '_upd_sess_2';
24
24
25
25
step s1_tab_s:
26
- select * from foo;
26
+ select * from foo order by id ;
27
27
28
28
id name
29
29
30
30
1 some_text_sess_1_upd_sess_2
31
31
2 some_text_sess_2_upd_sess_2
32
32
step s2_tab_s:
33
- select * from foo;
33
+ select * from foo order by id ;
34
34
35
35
id name
36
36
@@ -43,12 +43,12 @@ pg_switch_to_snapshot
43
43
44
44
45
45
step s1_tab_s:
46
- select * from foo;
46
+ select * from foo order by id ;
47
47
48
48
id name
49
49
50
50
step s2_tab_s:
51
- select * from foo;
51
+ select * from foo order by id ;
52
52
53
53
id name
54
54
@@ -63,14 +63,14 @@ step s2_tab_u:
63
63
64
64
ERROR: Updates are prohibited in snapshot
65
65
step s1_tab_s:
66
- select * from foo;
66
+ select * from foo order by id ;
67
67
68
68
id name
69
69
70
70
1 some_text_sess_1
71
71
2 some_text_sess_2
72
72
step s2_tab_s:
73
- select * from foo;
73
+ select * from foo order by id ;
74
74
75
75
id name
76
76
@@ -86,14 +86,14 @@ step s2_tab_u:
86
86
update foo set name = name || '_upd_sess_2';
87
87
88
88
step s1_tab_s:
89
- select * from foo;
89
+ select * from foo order by id ;
90
90
91
91
id name
92
92
93
93
1 some_text_sess_1_upd_sess_2_upd_sess_2
94
94
2 some_text_sess_2_upd_sess_2_upd_sess_2
95
95
step s2_tab_s:
96
- select * from foo;
96
+ select * from foo order by id ;
97
97
98
98
id name
99
99
Original file line number Diff line number Diff line change 7
7
teardown {
8
8
select pg_switch_to_snapshot ( 0 );
9
9
select pg_remove_snapshot ( ( select recent_snapshot from pg_control_snapshot () ) );
10
- drop table foo ;
10
+ drop table IF EXISTS foo ;
11
11
}
12
12
13
13
session "s1"
@@ -32,7 +32,7 @@ step "s1_tab_i" {
32
32
}
33
33
34
34
step "s1_tab_s" {
35
- select * from foo ;
35
+ select * from foo order by id ;
36
36
}
37
37
38
38
session "s2"
@@ -45,7 +45,7 @@ step "s2_tab_u" {
45
45
}
46
46
47
47
step "s2_tab_s" {
48
- select * from foo ;
48
+ select * from foo order by id ;
49
49
}
50
50
51
51
permutation "s1_mk_sn" "s1_tab_i" "s2_tab_i" "s1_mk_sn" "s2_tab_u" "s1_tab_s" "s2_tab_s" "s1_sw_sn_1" "s1_tab_s" "s2_tab_s" "s1_sw_sn_2" "s2_tab_u" "s1_tab_s" "s2_tab_s" "s1_sw_sn_0" "s2_tab_u" "s1_tab_s" "s2_tab_s"
You can’t perform that action at this time.
0 commit comments