• R/O
  • HTTP
  • SSH
  • HTTPS

pg_hint_plan: Commit

firtst release


Commit MetaInfo

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

Log Message

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.

Change Summary

Incremental Difference

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