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

Commit7441d66

Browse files
Etsuro Fujitapull[bot]
Etsuro Fujita
authored andcommitted
Update comment about set_join_pathlist_hook().
The comment introduced by commite7cb7ee was a bit too terse, whichcould lead to extensions doing different things within the hook functionthan we intend to allow. Extend the comment to explain what they can dowithin the hook function.Back-patch to all supported branches.In passing, I rephrased a nearby comment that I recently added to theback branches.Reviewed by David Rowley and Andrei Lepikhov.Discussion:https://postgr.es/m/CAPmGK15SBPA1nr3Aqsdm%2BYyS-ay0Ayo2BRYQ8_A2To9eLqwopQ%40mail.gmail.com
1 parenta98a4d7 commit7441d66

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,10 @@ add_paths_to_joinrel(PlannerInfo *root,
333333
jointype,&extra);
334334

335335
/*
336-
* 6. Finally, give extensions a chance to manipulate the path list.
336+
* 6. Finally, give extensions a chance to manipulate the path list. They
337+
* could add new paths (such as CustomPaths) by calling add_path(), or
338+
* add_partial_path() if parallel aware. They could also delete or modify
339+
* paths added by the core code.
337340
*/
338341
if (set_join_pathlist_hook)
339342
set_join_pathlist_hook(root,joinrel,outerrel,innerrel,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp