• R/O
  • HTTP
  • SSH
  • HTTPS

pg_hint_plan: Commit

firtst release


Commit MetaInfo

Revisionbe85d3d322e166ae2e15af3434a81e88d96887d4 (tree)
Time2019-01-09 09:55:02
AuthorKyotaro Horiguchi <horiguchi.kyotaro@lab....>
CommiterKyotaro Horiguchi

Log Message

Call standrad_ProcessUtility when no hook is set

The last commit c362705 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
@@ -2647,6 +2647,9 @@ pg_hint_plan_ProcessUtility(Node *parsetree, const char *queryString,
26472647 if (prev_ProcessUtility_hook)
26482648 prev_ProcessUtility_hook(parsetree, queryString, context, params,
26492649 dest, completionTag);
2650+ else
2651+ standard_ProcessUtility(parsetree, queryString, context, params,
2652+ dest, completionTag);
26502653
26512654 if (plpgsql_recurse_level == 0)
26522655 current_hint_retrieved = false;
Show on old repository browser