• R/O
  • HTTP
  • SSH
  • HTTPS

pg_hint_plan: Commit

firtst release


Commit MetaInfo

Revision5f4e855229fda25d0c5378550002e4f0e91c39bd (tree)
Time2019-01-09 09:35:41
AuthorKyotaro Horiguchi <horiguchi.kyotaro@lab....>
CommiterKyotaro Horiguchi

Log Message

Call standrad_ProcessUtility when no hook is set

The last commit d5ec243 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
@@ -2967,6 +2967,9 @@ pg_hint_plan_ProcessUtility(PlannedStmt *pstmt, const char *queryString,
29672967 if (prev_ProcessUtility_hook)
29682968 prev_ProcessUtility_hook(pstmt, queryString, context, params, queryEnv,
29692969 dest, completionTag);
2970+ else
2971+ standard_ProcessUtility(pstmt, queryString, context, params, queryEnv,
2972+ dest, completionTag);
29702973
29712974 if (plpgsql_recurse_level == 0)
29722975 current_hint_retrieved = false;
Show on old repository browser