• R/O
  • HTTP
  • SSH
  • HTTPS

pg_hint_plan: Commit

firtst release


Commit MetaInfo

Revisiond15acab40e42049f8c8f1b3cceecc04d1b9068c6 (tree)
Time2019-01-09 09:59:12
AuthorKyotaro Horiguchi <horiguchi.kyotaro@lab....>
CommiterKyotaro Horiguchi

Log Message

Call standrad_ProcessUtility when no hook is set

The last commit 2bbb376 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