~ubuntu-branches/ubuntu/precise/postgresql-9.1/precise-security

« back to all changes in this revision

Viewing changes to src/test/isolation/expected/ri-trigger.out

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2011-05-11 10:41:53 UTC
  • Revision ID: james.westby@ubuntu.com-20110511104153-psbh2o58553fv1m0
Tags: upstream-9.1~beta1
ImportĀ upstreamĀ versionĀ 9.1~beta1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Parsed test spec with 2 sessions
 
2
 
 
3
starting permutation: wxry1 c1 r2 wyrx2 c2
 
4
step wxry1:  INSERT INTO child (parent_id) VALUES (0); 
 
5
step c1:  COMMIT; 
 
6
step r2:  SELECT TRUE; 
 
7
bool           
 
8
 
 
9
t              
 
10
step wyrx2:  DELETE FROM parent WHERE parent_id = 0; 
 
11
ERROR:  child row exists
 
12
step c2:  COMMIT; 
 
13
 
 
14
starting permutation: wxry1 r2 c1 wyrx2 c2
 
15
step wxry1:  INSERT INTO child (parent_id) VALUES (0); 
 
16
step r2:  SELECT TRUE; 
 
17
bool           
 
18
 
 
19
t              
 
20
step c1:  COMMIT; 
 
21
step wyrx2:  DELETE FROM parent WHERE parent_id = 0; 
 
22
ERROR:  could not serialize access due to read/write dependencies among transactions
 
23
step c2:  COMMIT; 
 
24
 
 
25
starting permutation: wxry1 r2 wyrx2 c1 c2
 
26
step wxry1:  INSERT INTO child (parent_id) VALUES (0); 
 
27
step r2:  SELECT TRUE; 
 
28
bool           
 
29
 
 
30
t              
 
31
step wyrx2:  DELETE FROM parent WHERE parent_id = 0; 
 
32
step c1:  COMMIT; 
 
33
step c2:  COMMIT; 
 
34
ERROR:  could not serialize access due to read/write dependencies among transactions
 
35
 
 
36
starting permutation: wxry1 r2 wyrx2 c2 c1
 
37
step wxry1:  INSERT INTO child (parent_id) VALUES (0); 
 
38
step r2:  SELECT TRUE; 
 
39
bool           
 
40
 
 
41
t              
 
42
step wyrx2:  DELETE FROM parent WHERE parent_id = 0; 
 
43
step c2:  COMMIT; 
 
44
step c1:  COMMIT; 
 
45
ERROR:  could not serialize access due to read/write dependencies among transactions
 
46
 
 
47
starting permutation: r2 wxry1 c1 wyrx2 c2
 
48
step r2:  SELECT TRUE; 
 
49
bool           
 
50
 
 
51
t              
 
52
step wxry1:  INSERT INTO child (parent_id) VALUES (0); 
 
53
step c1:  COMMIT; 
 
54
step wyrx2:  DELETE FROM parent WHERE parent_id = 0; 
 
55
ERROR:  could not serialize access due to read/write dependencies among transactions
 
56
step c2:  COMMIT; 
 
57
 
 
58
starting permutation: r2 wxry1 wyrx2 c1 c2
 
59
step r2:  SELECT TRUE; 
 
60
bool           
 
61
 
 
62
t              
 
63
step wxry1:  INSERT INTO child (parent_id) VALUES (0); 
 
64
step wyrx2:  DELETE FROM parent WHERE parent_id = 0; 
 
65
step c1:  COMMIT; 
 
66
step c2:  COMMIT; 
 
67
ERROR:  could not serialize access due to read/write dependencies among transactions
 
68
 
 
69
starting permutation: r2 wxry1 wyrx2 c2 c1
 
70
step r2:  SELECT TRUE; 
 
71
bool           
 
72
 
 
73
t              
 
74
step wxry1:  INSERT INTO child (parent_id) VALUES (0); 
 
75
step wyrx2:  DELETE FROM parent WHERE parent_id = 0; 
 
76
step c2:  COMMIT; 
 
77
step c1:  COMMIT; 
 
78
ERROR:  could not serialize access due to read/write dependencies among transactions
 
79
 
 
80
starting permutation: r2 wyrx2 wxry1 c1 c2
 
81
step r2:  SELECT TRUE; 
 
82
bool           
 
83
 
 
84
t              
 
85
step wyrx2:  DELETE FROM parent WHERE parent_id = 0; 
 
86
step wxry1:  INSERT INTO child (parent_id) VALUES (0); 
 
87
step c1:  COMMIT; 
 
88
step c2:  COMMIT; 
 
89
ERROR:  could not serialize access due to read/write dependencies among transactions
 
90
 
 
91
starting permutation: r2 wyrx2 wxry1 c2 c1
 
92
step r2:  SELECT TRUE; 
 
93
bool           
 
94
 
 
95
t              
 
96
step wyrx2:  DELETE FROM parent WHERE parent_id = 0; 
 
97
step wxry1:  INSERT INTO child (parent_id) VALUES (0); 
 
98
step c2:  COMMIT; 
 
99
step c1:  COMMIT; 
 
100
ERROR:  could not serialize access due to read/write dependencies among transactions
 
101
 
 
102
starting permutation: r2 wyrx2 c2 wxry1 c1
 
103
step r2:  SELECT TRUE; 
 
104
bool           
 
105
 
 
106
t              
 
107
step wyrx2:  DELETE FROM parent WHERE parent_id = 0; 
 
108
step c2:  COMMIT; 
 
109
step wxry1:  INSERT INTO child (parent_id) VALUES (0); 
 
110
ERROR:  parent row missing
 
111
step c1:  COMMIT;