File tree 2 files changed +0
-59
lines changed
2 files changed +0
-59
lines changed Original file line number Diff line number Diff line change @@ -100,61 +100,3 @@ id name
100
100
101
101
1 some_text_sess_1_upd_sess_2_upd_sess_2_upd_sess_2
102
102
2 some_text_sess_2_upd_sess_2_upd_sess_2_upd_sess_2
103
-
104
- starting permutation: s1_mk_sn s1_tab_i s2_tab_i s1_mk_sn s2_tab_u s1_sb_sn_1 s1_tab_s s2_rm_sn_1 s1_sb_sn_0 s1_tab_s s2_tab_s
105
- step s1_mk_sn:
106
- select 1 as "make_snapshot" from pg_make_snapshot();
107
-
108
- make_snapshot
109
-
110
- 1
111
- step s1_tab_i:
112
- insert into foo ( name ) values ( 'some_text_sess_1' );
113
-
114
- step s2_tab_i:
115
- insert into foo ( name ) values ( 'some_text_sess_2' );
116
-
117
- step s1_mk_sn:
118
- select 1 as "make_snapshot" from pg_make_snapshot();
119
-
120
- make_snapshot
121
-
122
- 1
123
- step s2_tab_u:
124
- update foo set name = name || '_upd_sess_2';
125
-
126
- step s1_sb_sn_1:
127
- select pg_set_backend_snapshot( ( select recent_snapshot - 1 from pg_control_snapshot() ) );
128
-
129
- pg_set_backend_snapshot
130
-
131
-
132
- step s1_tab_s:
133
- select * from foo order by id;
134
-
135
- id name
136
-
137
- step s2_rm_sn_1:
138
- select pg_remove_snapshot( ( select recent_snapshot - 1 from pg_control_snapshot() ) );
139
-
140
- pg_remove_snapshot
141
-
142
-
143
- step s1_sb_sn_0:
144
- select pg_set_backend_snapshot( 0 );
145
-
146
- ERROR: Snapshot 59 is not valid any more
147
- step s1_tab_s:
148
- select * from foo order by id;
149
-
150
- id name
151
-
152
- 1 some_text_sess_1_upd_sess_2
153
- 2 some_text_sess_2_upd_sess_2
154
- step s2_tab_s:
155
- select * from foo order by id;
156
-
157
- id name
158
-
159
- 1 some_text_sess_1_upd_sess_2
160
- 2 some_text_sess_2_upd_sess_2
Original file line number Diff line number Diff line change @@ -53,4 +53,3 @@ step "s2_rm_sn_1" {
53
53
}
54
54
55
55
permutation "s1_mk_sn" "s1_tab_i" "s2_tab_i" "s1_mk_sn" "s2_tab_u" "s1_tab_s" "s2_tab_s" "s1_sb_sn_1" "s1_tab_s" "s2_tab_s" "s1_sb_sn_2" "s2_tab_u" "s1_tab_s" "s2_tab_s" "s1_sb_sn_0" "s2_tab_u" "s1_tab_s" "s2_tab_s"
56
- permutation "s1_mk_sn" "s1_tab_i" "s2_tab_i" "s1_mk_sn" "s2_tab_u" "s1_sb_sn_1" "s1_tab_s" "s2_rm_sn_1" "s1_sb_sn_0" "s1_tab_s" "s2_tab_s"
You can’t perform that action at this time.
0 commit comments