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

Commit2c6e647

Browse files
committed
Allow treating TABLESAMPLE scans as parallel-safe.
This was the intention all along, but an extraneous "return;" inset_rel_consider_parallel() caused sampled rels to never be markedconsider_parallel.Since we don't have any partial tablesample path/plan type yet, there'sno possibility of parallelizing the sample scan itself; but this fixallows such a scan to appear below a parallel join, for example.
1 parent0e495c5 commit2c6e647

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,6 @@ set_rel_consider_parallel(PlannerInfo *root, RelOptInfo *rel,
538538
if (has_parallel_hazard((Node*)rte->tablesample->args,
539539
false))
540540
return;
541-
return;
542541
}
543542

544543
/*

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp