• R/O
  • HTTP
  • SSH
  • HTTPS

pg_hint_plan: コミット

firtst release


コミットメタ情報

リビジョン078960671eb3c072a465be29ab7efb6f6ca263d0 (tree)
日時2019-01-09 09:57:34
作者Kyotaro Horiguchi <horiguchi.kyotaro@lab....>
コミッターKyotaro Horiguchi

ログメッセージ

Call standrad_ProcessUtility when no hook is set

The last commit dff1e4a forgot the case of no previous hook function
in the ProcessUtility hook function. Fix it.

変更サマリ

差分

--- a/pg_hint_plan.c
+++ b/pg_hint_plan.c
@@ -2969,6 +2969,9 @@ pg_hint_plan_ProcessUtility(Node *parsetree, const char *queryString,
29692969 if (prev_ProcessUtility_hook)
29702970 prev_ProcessUtility_hook(parsetree, queryString, context, params,
29712971 dest, completionTag);
2972+ else
2973+ standard_ProcessUtility(parsetree, queryString, context, params,
2974+ dest, completionTag);
29722975
29732976 if (plpgsql_recurse_level == 0)
29742977 current_hint_retrieved = false;
旧リポジトリブラウザで表示