File tree Expand file tree Collapse file tree 2 files changed +23
-2
lines changed Expand file tree Collapse file tree 2 files changed +23
-2
lines changed Original file line number Diff line number Diff line change @@ -24,9 +24,9 @@ sleep 3
24
24
25
25
cd src/test/regress
26
26
27
- ./pg_regress --inputdir=. --bindir=' ../../../tmp_install/bin' --dlpath=. --schedule=./parallel_schedule --use-existing
27
+ # ./pg_regress --inputdir=. --bindir='../../../tmp_install/bin' --dlpath=. --schedule=./parallel_schedule --use-existing
28
28
29
- # ./pg_regress --inputdir=. --bindir='../../../tmp_install/bin' --dlpath=. --schedule=./serial_schedule --use-existing
29
+ ./pg_regress --inputdir=. --bindir=' ../../../tmp_install/bin' --dlpath=. --schedule=./serial_schedule --use-existing
30
30
31
31
cd ../../..
32
32
Original file line number Diff line number Diff line change
1
+ CREATE TABLE serializable_update_tab (
2
+ id int ,
3
+ filler text ,
4
+ description text
5
+ );
6
+ CREATE TABLE writetest (a int );
7
+
8
+
9
+ BEGIN ;
10
+ SET TRANSACTION ISOLATION LEVEL SERIALIZABLE;
11
+ UPDATE serializable_update_tab SET description = ' no no' , id = 1 WHERE id = 1 ;
12
+ COMMIT ;
13
+
14
+
15
+ BEGIN ;
16
+ SET TRANSACTION ISOLATION LEVEL SERIALIZABLE, READ ONLY, DEFERRABLE; -- ok
17
+ SELECT * FROM writetest; -- ok
18
+ SET TRANSACTION READ WRITE; -- fail
19
+ COMMIT ;
20
+
21
+
1
22
--
2
23
-- BOOLEAN
3
24
--
You can’t perform that action at this time.
0 commit comments