summaryrefslogtreecommitdiffstats
path: root/src/test/isolation/expected/nowait.out
blob: ea1cdf012a6b2ff04e7d0b122d69cf450740fc3a (plain)
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
Parsed test spec with 2 sessions

starting permutation: s1a s1b s2a s2b
step s1a: SELECT * FROM foo FOR UPDATE NOWAIT;
id|data
--+----
 1|x   
(1 row)

step s1b: COMMIT;
step s2a: SELECT * FROM foo FOR UPDATE NOWAIT;
id|data
--+----
 1|x   
(1 row)

step s2b: COMMIT;

starting permutation: s1a s2a s1b s2b
step s1a: SELECT * FROM foo FOR UPDATE NOWAIT;
id|data
--+----
 1|x   
(1 row)

step s2a: SELECT * FROM foo FOR UPDATE NOWAIT;
ERROR:  could not obtain lock on row in relation "foo"
step s1b: COMMIT;
step s2b: COMMIT;

starting permutation: s1a s2a s2b s1b
step s1a: SELECT * FROM foo FOR UPDATE NOWAIT;
id|data
--+----
 1|x   
(1 row)

step s2a: SELECT * FROM foo FOR UPDATE NOWAIT;
ERROR:  could not obtain lock on row in relation "foo"
step s2b: COMMIT;
step s1b: COMMIT;

starting permutation: s2a s1a s1b s2b
step s2a: SELECT * FROM foo FOR UPDATE NOWAIT;
id|data
--+----
 1|x   
(1 row)

step s1a: SELECT * FROM foo FOR UPDATE NOWAIT;
ERROR:  could not obtain lock on row in relation "foo"
step s1b: COMMIT;
step s2b: COMMIT;

starting permutation: s2a s1a s2b s1b
step s2a: SELECT * FROM foo FOR UPDATE NOWAIT;
id|data
--+----
 1|x   
(1 row)

step s1a: SELECT * FROM foo FOR UPDATE NOWAIT;
ERROR:  could not obtain lock on row in relation "foo"
step s2b: COMMIT;
step s1b: COMMIT;

starting permutation: s2a s2b s1a s1b
step s2a: SELECT * FROM foo FOR UPDATE NOWAIT;
id|data
--+----
 1|x   
(1 row)

step s2b: COMMIT;
step s1a: SELECT * FROM foo FOR UPDATE NOWAIT;
id|data
--+----
 1|x   
(1 row)

step s1b: COMMIT;