• R/O
  • HTTP
  • SSH
  • HTTPS

pg_hint_plan: コミット

firtst release


コミットメタ情報

リビジョン29972b14053cc5e785bd8008df576d933d95ae4c (tree)
日時2019-01-09 09:56:21
作者Kyotaro Horiguchi <horiguchi.kyotaro@lab....>
コミッターKyotaro Horiguchi

ログメッセージ

Call standrad_ProcessUtility when no hook is set

The last commit 6973627 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
@@ -2652,6 +2652,9 @@ pg_hint_plan_ProcessUtility(Node *parsetree, const char *queryString,
26522652 if (prev_ProcessUtility_hook)
26532653 prev_ProcessUtility_hook(parsetree, queryString, context, params,
26542654 dest, completionTag);
2655+ else
2656+ standard_ProcessUtility(parsetree, queryString, context, params,
2657+ dest, completionTag);
26552658
26562659 if (plpgsql_recurse_level == 0)
26572660 current_hint_retrieved = false;
旧リポジトリブラウザで表示