From c2bc7e03df7915c7bc9fba32f182aea706de70cd Mon Sep 17 00:00:00 2001 From: Julien Rouhaud Date: Wed, 17 May 2017 19:00:42 +0200 Subject: [PATCH] Add pg 10 compatibility WRT commit 18ce3a4ab22d2984f8540ab480979c851dae5338 --- hypopg.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/hypopg.c b/hypopg.c index e88798f..14f4e4c 100644 --- a/hypopg.c +++ b/hypopg.c @@ -197,6 +197,9 @@ hypo_utility_hook( ProcessUtilityContext context, #endif ParamListInfo params, +#if PG_VERSION_NUM >= 100000 + QueryEnvironment *queryEnv, +#endif #if PG_VERSION_NUM < 90300 bool isTopLevel, #endif @@ -988,6 +991,9 @@ hypo_utility_hook( ProcessUtilityContext context, #endif ParamListInfo params, +#if PG_VERSION_NUM >= 100000 + QueryEnvironment *queryEnv, +#endif #if PG_VERSION_NUM < 90300 bool isTopLevel, #endif @@ -1015,6 +1021,9 @@ hypo_utility_hook( context, #endif params, +#if PG_VERSION_NUM >= 100000 + queryEnv, +#endif #if PG_VERSION_NUM < 90300 isTopLevel, #endif @@ -1031,6 +1040,9 @@ hypo_utility_hook( context, #endif params, +#if PG_VERSION_NUM >= 100000 + queryEnv, +#endif #if PG_VERSION_NUM < 90300 isTopLevel, #endif