@@ -71,7 +71,7 @@ EXPLAIN (COSTS OFF) SELECT * FROM test.hash_rel WHERE value = 2;
71
71
EXPLAIN (COSTS OFF) SELECT * FROM test .hash_rel WHERE value = 2 OR value = 1 ;
72
72
-- Temporarily commented out
73
73
-- EXPLAIN (COSTS OFF) SELECT * FROM test.hash_rel WHERE value BETWEEN 1 AND 2;
74
- -- QUERY PLAN
74
+ -- QUERY PLAN
75
75
-- -------------------------------------------------
76
76
-- Append
77
77
-- -> Seq Scan on hash_rel_1
@@ -203,7 +203,7 @@ begin
203
203
' wrong plan provider' );
204
204
205
205
perform test .pathman_equal ((plan- > 0 - > ' Plan' - > ' Plans' - > 1 - > ' Relation Name' )::text ,
206
- ' "runtime_test_1_1" ' ,
206
+ format( ' "runtime_test_1_%s" ' , pathman . get_hash (hashint4( 1 ), 6 )) ,
207
207
' wrong partition' );
208
208
209
209
select count (* ) from jsonb_array_elements_text(plan- > 0 - > ' Plan' - > ' Plans' ) into num;
@@ -237,7 +237,7 @@ begin
237
237
238
238
for i in 0 ..3 loop
239
239
perform test .pathman_equal ((plan- > 0 - > ' Plan' - > ' Plans' - > 1 - > ' Plans' - > i- > ' Relation Name' )::text ,
240
- format(' "runtime_test_1_%s"' , i + 1 ),
240
+ format(' "runtime_test_1_%s"' , pathman . get_hash (hashint4( i + 1 ), 6 ) ),
241
241
' wrong partition' );
242
242
243
243
num = plan- > 0 - > ' Plan' - > ' Plans' - > 1 - > ' Plans' - > i- > ' Actual Loops' ;
@@ -272,7 +272,7 @@ begin
272
272
273
273
for i in 0 ..5 loop
274
274
num = plan- > 0 - > ' Plan' - > ' Plans' - > 1 - > ' Plans' - > i- > ' Actual Loops' ;
275
- perform test .pathman_assert (num > 0 and num <= 1667 , ' expected no more than 1667 loops' );
275
+ perform test .pathman_assert (num > 0 and num <= 1718 , ' expected no more than 1718 loops' );
276
276
end loop;
277
277
278
278
return ' ok' ;
@@ -305,7 +305,7 @@ begin
305
305
306
306
for i in 0 ..3 loop
307
307
perform test .pathman_equal ((plan- > 0 - > ' Plan' - > ' Plans' - > 1 - > ' Plans' - > 0 - > ' Plans' - > i- > ' Relation Name' )::text ,
308
- format(' "runtime_test_2_%s"' , i + 1 ),
308
+ format(' "runtime_test_2_%s"' , pathman . get_hash (hashint4( i + 1 ), 6 ) ),
309
309
' wrong partition' );
310
310
311
311
num = plan- > 0 - > ' Plan' - > ' Plans' - > 1 - > ' Plans' - > 0 - > ' Plans' - > i- > ' Actual Loops' ;
0 commit comments