• R/O
  • HTTP
  • SSH
  • HTTPS

pg_hint_plan: Commit

firtst release


Commit MetaInfo

Revisionbc7aa65e9850c78b099992bc814b9efc36021e62 (tree)
Time2019-01-09 09:58:21
AuthorKyotaro Horiguchi <horiguchi.kyotaro@lab....>
CommiterKyotaro Horiguchi

Log Message

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.

Change Summary

Incremental Difference

--- 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;
Show on old repository browser