• R/O
  • HTTP
  • SSH
  • HTTPS

pg_hint_plan: コミット

firtst release


コミットメタ情報

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

ログメッセージ

Call standrad_ProcessUtility when no hook is set

The last commit 3cb8d0b 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
@@ -2976,6 +2976,9 @@ pg_hint_plan_ProcessUtility(PlannedStmt *pstmt, const char *queryString,
29762976 if (prev_ProcessUtility_hook)
29772977 prev_ProcessUtility_hook(pstmt, queryString, context, params, queryEnv,
29782978 dest, completionTag);
2979+ else
2980+ standard_ProcessUtility(pstmt, queryString, context, params, queryEnv,
2981+ dest, completionTag);
29792982
29802983 if (plpgsql_recurse_level == 0)
29812984 current_hint_retrieved = false;
旧リポジトリブラウザで表示