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

Commit91506a3

Browse files
committed
Fix bug related with disabling hooks
1 parent095eb98 commit91506a3

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

‎src/hooks.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -511,10 +511,7 @@ pathman_planner_hook(Query *parse, int cursorOptions, ParamListInfo boundParams)
511511
else
512512
result=standard_planner(parse,cursorOptions,boundParams);
513513

514-
if (!pathman_hooks_enabled)
515-
returnresult;
516-
517-
if (pathman_ready)
514+
if (pathman_ready&&pathman_hooks_enabled)
518515
{
519516
/* Give rowmark-related attributes correct names */
520517
ExecuteForPlanTree(result,postprocess_lock_rows);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp