Content-Length: 282675 | pFad | http://github.com/postgrespro/postgres_cluster/commit/cba0fe024e35839688e3a3d256d1dcdf50baadaf

1B Force hash joins to be enabled in the hash join regression tests. · postgrespro/postgres_cluster@cba0fe0 · GitHub
Skip to content

Commit cba0fe0

Browse files
committed
Force hash joins to be enabled in the hash join regression tests.
Otherwise the regressplans.sh tests generate extremely slow nested loop joins. Back-patch to 11 where the hash join tests came in. Reported-by: Michael Paquier Discussion: https://postgr.es/m/20190708055256.GB2709%40paquier.xyz
1 parent 38c268d commit cba0fe0

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/test/regress/expected/join_hash.out

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
begin;
55
set local min_parallel_table_scan_size = 0;
66
set local parallel_setup_cost = 0;
7+
set local enable_hashjoin = on;
78
-- Extract bucket and batch counts from an explain analyze plan. In
89
-- general we can't make assertions about how many batches (or
910
-- buckets) will be required because it can vary, but we can in some

src/test/regress/sql/join_hash.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ begin;
66

77
set local min_parallel_table_scan_size = 0;
88
set local parallel_setup_cost = 0;
9+
set local enable_hashjoin = on;
910

1011
-- Extract bucket and batch counts from an explain analyze plan. In
1112
-- general we can't make assertions about how many batches (or

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/cba0fe024e35839688e3a3d256d1dcdf50baadaf

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy