OSDN Git Service
(root)
/
pghintplan
/
pg_hint_plan.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Call standrad_ProcessUtility when no hook is set
[pghintplan/pg_hint_plan.git]
/
pg_hint_plan.c
diff --git
a/pg_hint_plan.c
b/pg_hint_plan.c
index
5e41f5e
..
ce73eb0
100644
(file)
--- a/
pg_hint_plan.c
+++ b/
pg_hint_plan.c
@@
-2647,6
+2647,9
@@
pg_hint_plan_ProcessUtility(Node *parsetree, const char *queryString,
if (prev_ProcessUtility_hook)
prev_ProcessUtility_hook(parsetree, queryString, context, params,
dest, completionTag);
if (prev_ProcessUtility_hook)
prev_ProcessUtility_hook(parsetree, queryString, context, params,
dest, completionTag);
+ else
+ standard_ProcessUtility(parsetree, queryString, context, params,
+ dest, completionTag);
if (plpgsql_recurse_level == 0)
current_hint_retrieved = false;
if (plpgsql_recurse_level == 0)
current_hint_retrieved = false;