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

Commit6f0ee40

Browse files
committed
invoke original planner hook
1 parentf7ecc0c commit6f0ee40

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

‎pg_pathman.c

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,9 +195,12 @@ pathman_planner_hook(Query *parse, int cursorOptions, ParamListInfo boundParams)
195195

196196
inheritance_disabled= false;
197197
disable_inheritance(parse);
198-
result=standard_planner(parse,cursorOptions,boundParams);
199198

200-
/* TODO: invoke original hook */
199+
/* Invoke original hook */
200+
if (planner_hook_original)
201+
result=planner_hook_original(parse,cursorOptions,boundParams);
202+
else
203+
result=standard_planner(parse,cursorOptions,boundParams);
201204

202205
returnresult;
203206
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp