diff options
Diffstat (limited to 'src/test/isolation/expected/predicate-gin.out')
-rw-r--r-- | src/test/isolation/expected/predicate-gin.out | 372 |
1 files changed, 248 insertions, 124 deletions
diff --git a/src/test/isolation/expected/predicate-gin.out b/src/test/isolation/expected/predicate-gin.out index 77eb5aaff79..c032804804b 100644 --- a/src/test/isolation/expected/predicate-gin.out +++ b/src/test/isolation/expected/predicate-gin.out @@ -2,13 +2,17 @@ Parsed test spec with 3 sessions starting permutation: ra1 ro2 wo1 c1 wa2 c2 step ra1: select * from gin_tbl where p @> array[1] limit 1; -p +p +--- +{1} +(1 row) -{1} step ro2: select count(*) from other_tbl; -count +count +----- + 0 +(1 row) -0 step wo1: insert into other_tbl values (1); step c1: commit; step wa2: insert into gin_tbl values (array[1]); @@ -17,13 +21,17 @@ step c2: commit; starting permutation: ro2 ra1 wo1 c1 wa2 c2 step ro2: select count(*) from other_tbl; -count +count +----- + 0 +(1 row) -0 step ra1: select * from gin_tbl where p @> array[1] limit 1; -p +p +--- +{1} +(1 row) -{1} step wo1: insert into other_tbl values (1); step c1: commit; step wa2: insert into gin_tbl values (array[1]); @@ -32,13 +40,17 @@ step c2: commit; starting permutation: ro2 ra1 wo1 wa2 c1 c2 step ro2: select count(*) from other_tbl; -count +count +----- + 0 +(1 row) -0 step ra1: select * from gin_tbl where p @> array[1] limit 1; -p +p +--- +{1} +(1 row) -{1} step wo1: insert into other_tbl values (1); step wa2: insert into gin_tbl values (array[1]); step c1: commit; @@ -47,13 +59,17 @@ ERROR: could not serialize access due to read/write dependencies among transact starting permutation: ra1 ro2 wa2 wo1 c1 c2 step ra1: select * from gin_tbl where p @> array[1] limit 1; -p +p +--- +{1} +(1 row) -{1} step ro2: select count(*) from other_tbl; -count +count +----- + 0 +(1 row) -0 step wa2: insert into gin_tbl values (array[1]); step wo1: insert into other_tbl values (1); step c1: commit; @@ -62,13 +78,17 @@ ERROR: could not serialize access due to read/write dependencies among transact starting permutation: rb1 ro2 wo1 c1 wb2 c2 step rb1: select count(*) from gin_tbl where p @> array[2]; -count +count +----- + 1 +(1 row) -1 step ro2: select count(*) from other_tbl; -count +count +----- + 0 +(1 row) -0 step wo1: insert into other_tbl values (1); step c1: commit; step wb2: insert into gin_tbl values (array[2]); @@ -77,13 +97,17 @@ step c2: commit; starting permutation: ro2 rb1 wo1 c1 wb2 c2 step ro2: select count(*) from other_tbl; -count +count +----- + 0 +(1 row) -0 step rb1: select count(*) from gin_tbl where p @> array[2]; -count +count +----- + 1 +(1 row) -1 step wo1: insert into other_tbl values (1); step c1: commit; step wb2: insert into gin_tbl values (array[2]); @@ -92,13 +116,17 @@ step c2: commit; starting permutation: ro2 rb1 wo1 wb2 c1 c2 step ro2: select count(*) from other_tbl; -count +count +----- + 0 +(1 row) -0 step rb1: select count(*) from gin_tbl where p @> array[2]; -count +count +----- + 1 +(1 row) -1 step wo1: insert into other_tbl values (1); step wb2: insert into gin_tbl values (array[2]); step c1: commit; @@ -107,13 +135,17 @@ ERROR: could not serialize access due to read/write dependencies among transact starting permutation: rb1 ro2 wb2 wo1 c1 c2 step rb1: select count(*) from gin_tbl where p @> array[2]; -count +count +----- + 1 +(1 row) -1 step ro2: select count(*) from other_tbl; -count +count +----- + 0 +(1 row) -0 step wb2: insert into gin_tbl values (array[2]); step wo1: insert into other_tbl values (1); step c1: commit; @@ -122,13 +154,17 @@ ERROR: could not serialize access due to read/write dependencies among transact starting permutation: rc1 ro2 wo1 c1 wc2 c2 step rc1: select count(*) from gin_tbl where p @> array[800]; -count +count +----- + 1 +(1 row) -1 step ro2: select count(*) from other_tbl; -count +count +----- + 0 +(1 row) -0 step wo1: insert into other_tbl values (1); step c1: commit; step wc2: insert into gin_tbl values (array[800]); @@ -137,13 +173,17 @@ step c2: commit; starting permutation: ro2 rc1 wo1 c1 wc2 c2 step ro2: select count(*) from other_tbl; -count +count +----- + 0 +(1 row) -0 step rc1: select count(*) from gin_tbl where p @> array[800]; -count +count +----- + 1 +(1 row) -1 step wo1: insert into other_tbl values (1); step c1: commit; step wc2: insert into gin_tbl values (array[800]); @@ -152,13 +192,17 @@ step c2: commit; starting permutation: ro2 rc1 wo1 wc2 c1 c2 step ro2: select count(*) from other_tbl; -count +count +----- + 0 +(1 row) -0 step rc1: select count(*) from gin_tbl where p @> array[800]; -count +count +----- + 1 +(1 row) -1 step wo1: insert into other_tbl values (1); step wc2: insert into gin_tbl values (array[800]); step c1: commit; @@ -167,13 +211,17 @@ ERROR: could not serialize access due to read/write dependencies among transact starting permutation: rc1 ro2 wc2 wo1 c1 c2 step rc1: select count(*) from gin_tbl where p @> array[800]; -count +count +----- + 1 +(1 row) -1 step ro2: select count(*) from other_tbl; -count +count +----- + 0 +(1 row) -0 step wc2: insert into gin_tbl values (array[800]); step wo1: insert into other_tbl values (1); step c1: commit; @@ -182,13 +230,17 @@ ERROR: could not serialize access due to read/write dependencies among transact starting permutation: ra1 ro2 wo1 c1 wb2 c2 step ra1: select * from gin_tbl where p @> array[1] limit 1; -p +p +--- +{1} +(1 row) -{1} step ro2: select count(*) from other_tbl; -count +count +----- + 0 +(1 row) -0 step wo1: insert into other_tbl values (1); step c1: commit; step wb2: insert into gin_tbl values (array[2]); @@ -196,13 +248,17 @@ step c2: commit; starting permutation: ro2 ra1 wo1 c1 wc2 c2 step ro2: select count(*) from other_tbl; -count +count +----- + 0 +(1 row) -0 step ra1: select * from gin_tbl where p @> array[1] limit 1; -p +p +--- +{1} +(1 row) -{1} step wo1: insert into other_tbl values (1); step c1: commit; step wc2: insert into gin_tbl values (array[800]); @@ -210,13 +266,17 @@ step c2: commit; starting permutation: ro2 rb1 wo1 wa2 c1 c2 step ro2: select count(*) from other_tbl; -count +count +----- + 0 +(1 row) -0 step rb1: select count(*) from gin_tbl where p @> array[2]; -count +count +----- + 1 +(1 row) -1 step wo1: insert into other_tbl values (1); step wa2: insert into gin_tbl values (array[1]); step c1: commit; @@ -224,13 +284,17 @@ step c2: commit; starting permutation: rc1 ro2 wa2 wo1 c1 c2 step rc1: select count(*) from gin_tbl where p @> array[800]; -count +count +----- + 1 +(1 row) -1 step ro2: select count(*) from other_tbl; -count +count +----- + 0 +(1 row) -0 step wa2: insert into gin_tbl values (array[1]); step wo1: insert into other_tbl values (1); step c1: commit; @@ -238,13 +302,17 @@ step c2: commit; starting permutation: rb1 ro2 wo1 c1 wa2 c2 step rb1: select count(*) from gin_tbl where p @> array[2]; -count +count +----- + 1 +(1 row) -1 step ro2: select count(*) from other_tbl; -count +count +----- + 0 +(1 row) -0 step wo1: insert into other_tbl values (1); step c1: commit; step wa2: insert into gin_tbl values (array[1]); @@ -252,13 +320,17 @@ step c2: commit; starting permutation: ro2 rb1 wo1 c1 wc2 c2 step ro2: select count(*) from other_tbl; -count +count +----- + 0 +(1 row) -0 step rb1: select count(*) from gin_tbl where p @> array[2]; -count +count +----- + 1 +(1 row) -1 step wo1: insert into other_tbl values (1); step c1: commit; step wc2: insert into gin_tbl values (array[800]); @@ -266,13 +338,17 @@ step c2: commit; starting permutation: ro2 ra1 wo1 wb2 c1 c2 step ro2: select count(*) from other_tbl; -count +count +----- + 0 +(1 row) -0 step ra1: select * from gin_tbl where p @> array[1] limit 1; -p +p +--- +{1} +(1 row) -{1} step wo1: insert into other_tbl values (1); step wb2: insert into gin_tbl values (array[2]); step c1: commit; @@ -280,13 +356,17 @@ step c2: commit; starting permutation: rc1 ro2 wb2 wo1 c1 c2 step rc1: select count(*) from gin_tbl where p @> array[800]; -count +count +----- + 1 +(1 row) -1 step ro2: select count(*) from other_tbl; -count +count +----- + 0 +(1 row) -0 step wb2: insert into gin_tbl values (array[2]); step wo1: insert into other_tbl values (1); step c1: commit; @@ -294,13 +374,17 @@ step c2: commit; starting permutation: rc1 ro2 wo1 c1 wa2 c2 step rc1: select count(*) from gin_tbl where p @> array[800]; -count +count +----- + 1 +(1 row) -1 step ro2: select count(*) from other_tbl; -count +count +----- + 0 +(1 row) -0 step wo1: insert into other_tbl values (1); step c1: commit; step wa2: insert into gin_tbl values (array[1]); @@ -308,13 +392,17 @@ step c2: commit; starting permutation: ro2 rc1 wo1 c1 wb2 c2 step ro2: select count(*) from other_tbl; -count +count +----- + 0 +(1 row) -0 step rc1: select count(*) from gin_tbl where p @> array[800]; -count +count +----- + 1 +(1 row) -1 step wo1: insert into other_tbl values (1); step c1: commit; step wb2: insert into gin_tbl values (array[2]); @@ -322,13 +410,17 @@ step c2: commit; starting permutation: ro2 ra1 wo1 wc2 c1 c2 step ro2: select count(*) from other_tbl; -count +count +----- + 0 +(1 row) -0 step ra1: select * from gin_tbl where p @> array[1] limit 1; -p +p +--- +{1} +(1 row) -{1} step wo1: insert into other_tbl values (1); step wc2: insert into gin_tbl values (array[800]); step c1: commit; @@ -336,13 +428,17 @@ step c2: commit; starting permutation: rb1 ro2 wc2 wo1 c1 c2 step rb1: select count(*) from gin_tbl where p @> array[2]; -count +count +----- + 1 +(1 row) -1 step ro2: select count(*) from other_tbl; -count +count +----- + 0 +(1 row) -0 step wc2: insert into gin_tbl values (array[800]); step wo1: insert into other_tbl values (1); step c1: commit; @@ -351,13 +447,17 @@ step c2: commit; starting permutation: fu ra1 ro2 wo1 c1 wa2 c2 step fu: alter index ginidx set (fastupdate = on); step ra1: select * from gin_tbl where p @> array[1] limit 1; -p +p +--- +{1} +(1 row) -{1} step ro2: select count(*) from other_tbl; -count +count +----- + 0 +(1 row) -0 step wo1: insert into other_tbl values (1); step c1: commit; step wa2: insert into gin_tbl values (array[1]); @@ -367,13 +467,17 @@ step c2: commit; starting permutation: fu ra1 ro2 wo1 c1 wb2 c2 step fu: alter index ginidx set (fastupdate = on); step ra1: select * from gin_tbl where p @> array[1] limit 1; -p +p +--- +{1} +(1 row) -{1} step ro2: select count(*) from other_tbl; -count +count +----- + 0 +(1 row) -0 step wo1: insert into other_tbl values (1); step c1: commit; step wb2: insert into gin_tbl values (array[2]); @@ -382,13 +486,17 @@ step c2: commit; starting permutation: ra1 ro2 wo1 c1 fu wa2 c2 step ra1: select * from gin_tbl where p @> array[1] limit 1; -p +p +--- +{1} +(1 row) -{1} step ro2: select count(*) from other_tbl; -count +count +----- + 0 +(1 row) -0 step wo1: insert into other_tbl values (1); step c1: commit; step fu: alter index ginidx set (fastupdate = on); @@ -398,13 +506,17 @@ step c2: commit; starting permutation: rd1 ro2 wo1 c1 wd2 c2 step rd1: select count(*) from gin_tbl where p @> array[2000]; -count +count +----- + 0 +(1 row) -0 step ro2: select count(*) from other_tbl; -count +count +----- + 0 +(1 row) -0 step wo1: insert into other_tbl values (1); step c1: commit; step wd2: insert into gin_tbl values (array[2000]); @@ -413,13 +525,17 @@ step c2: commit; starting permutation: ro2 rd1 wo1 c1 wd2 c2 step ro2: select count(*) from other_tbl; -count +count +----- + 0 +(1 row) -0 step rd1: select count(*) from gin_tbl where p @> array[2000]; -count +count +----- + 0 +(1 row) -0 step wo1: insert into other_tbl values (1); step c1: commit; step wd2: insert into gin_tbl values (array[2000]); @@ -428,13 +544,17 @@ step c2: commit; starting permutation: ro2 rd1 wo1 wd2 c1 c2 step ro2: select count(*) from other_tbl; -count +count +----- + 0 +(1 row) -0 step rd1: select count(*) from gin_tbl where p @> array[2000]; -count +count +----- + 0 +(1 row) -0 step wo1: insert into other_tbl values (1); step wd2: insert into gin_tbl values (array[2000]); step c1: commit; @@ -443,13 +563,17 @@ ERROR: could not serialize access due to read/write dependencies among transact starting permutation: rd1 ro2 wd2 wo1 c1 c2 step rd1: select count(*) from gin_tbl where p @> array[2000]; -count +count +----- + 0 +(1 row) -0 step ro2: select count(*) from other_tbl; -count +count +----- + 0 +(1 row) -0 step wd2: insert into gin_tbl values (array[2000]); step wo1: insert into other_tbl values (1); step c1: commit; |