pgsql: Fix hashjoin costing mistake introduced with inner_unique optimi

2018-07-14 Thread Tom Lane
Fix hashjoin costing mistake introduced with inner_unique optimization. In final_cost_hashjoin(), commit 9c7f5229a allowed inner_unique cases to follow a code path previously used only for SEMI/ANTI joins; but it neglected to fix an if-test within that path that assumed SEMI and ANTI were the only

pgsql: Fix hashjoin costing mistake introduced with inner_unique optimi

2018-07-14 Thread Tom Lane
Fix hashjoin costing mistake introduced with inner_unique optimization. In final_cost_hashjoin(), commit 9c7f5229a allowed inner_unique cases to follow a code path previously used only for SEMI/ANTI joins; but it neglected to fix an if-test within that path that assumed SEMI and ANTI were the only

pgsql: Fix hashjoin costing mistake introduced with inner_unique optimi

2018-07-14 Thread Tom Lane
Fix hashjoin costing mistake introduced with inner_unique optimization. In final_cost_hashjoin(), commit 9c7f5229a allowed inner_unique cases to follow a code path previously used only for SEMI/ANTI joins; but it neglected to fix an if-test within that path that assumed SEMI and ANTI were the only