Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit271b678

Browse files
author
Amit Kapila
committed
Back-patch "Fix parallel hash join path search."
Back-patch commit655393a to 9.6. Thissynchronizes the relavant code and helps in generating parallel paths insome cases in 9.6. This also helps in back-patch of future patches wherewe can get the same plan in all branches.Discussion:https://postgr.es/m/CAA4eK1+XK_875cJA1HPVpx9C7C8Fp7i4QzLJ17T3igfU2iadxQ@mail.gmail.com
1 parentfd4f2af commit271b678

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎src/backend/optimizer/path/joinpath.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1469,17 +1469,17 @@ hash_inner_and_outer(PlannerInfo *root,
14691469
/*
14701470
* Normally, given that the joinrel is parallel-safe, the cheapest
14711471
* total inner path will also be parallel-safe, but if not, we'll
1472-
* have to searchcheapest_parameterized_pathsfor the cheapest
1473-
*safe, unparameterized innerpath. If doing JOIN_UNIQUE_INNER,
1474-
*we can't use any alternativeinner path.
1472+
* have to search for the cheapest safe, unparameterized inner
1473+
* path. If doing JOIN_UNIQUE_INNER, we can't use any alternative
1474+
* inner path.
14751475
*/
14761476
if (cheapest_total_inner->parallel_safe)
14771477
cheapest_safe_inner=cheapest_total_inner;
14781478
elseif (save_jointype!=JOIN_UNIQUE_INNER)
14791479
{
14801480
ListCell*lc;
14811481

1482-
foreach(lc,innerrel->cheapest_parameterized_paths)
1482+
foreach(lc,innerrel->pathlist)
14831483
{
14841484
Path*innerpath= (Path*)lfirst(lc);
14851485

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp