Change for PG15 test because hash_mem_multiplier was changed to 2 as a default instead of 1 which was what PG13/14 have

pull/6165/head
yxu2162 2022-08-11 09:46:04 -07:00 committed by Ying Xu
parent e962113c63
commit e1322ec905
2 changed files with 4 additions and 0 deletions

View File

@ -972,6 +972,7 @@ DETAIL: unparameterized; 1 clauses pushed down
203491455
(1 row)
SET hash_mem_multiplier = 1.0;
EXPLAIN (analyze on, costs off, timing off, summary off)
SELECT sum(a) FROM pushdown_test where
(
@ -1006,6 +1007,7 @@ DETAIL: unparameterized; 1 clauses pushed down
Columnar Projected Columns: a
(11 rows)
RESET hash_mem_multiplier;
SELECT sum(a) FROM pushdown_test where
(
a > random()

View File

@ -410,6 +410,7 @@ EXPLAIN (analyze on, costs off, timing off, summary off)
SELECT sum(a) FROM pushdown_test where (a > random() and a <= 2000) or (a > 200000-1010);
SELECT sum(a) FROM pushdown_test where (a > random() and a <= 2000) or (a > 200000-1010);
SET hash_mem_multiplier = 1.0;
EXPLAIN (analyze on, costs off, timing off, summary off)
SELECT sum(a) FROM pushdown_test where
(
@ -422,6 +423,7 @@ SELECT sum(a) FROM pushdown_test where
)
or
(a > 200000-2010);
RESET hash_mem_multiplier;
SELECT sum(a) FROM pushdown_test where
(
a > random()