• R/O
  • HTTP
  • SSH
  • HTTPS

pg_hint_plan: Commit

firtst release


Commit MetaInfo

Revision078960671eb3c072a465be29ab7efb6f6ca263d0 (tree)
Time2019-01-09 09:57:34
AuthorKyotaro Horiguchi <horiguchi.kyotaro@lab....>
CommiterKyotaro Horiguchi

Log Message

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.

Change Summary

Incremental Difference

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