From: Teodor Sigaev Date: Mon, 21 Jun 2021 10:00:13 +0000 (+0300) Subject: Support for v14 X-Git-Url: http://sigaev.ru/git/gitweb.cgi?a=commitdiff_plain;h=8a3373d267d4a224e4d7c26c4aef4f23056f9d7c;p=online_analyze.git Support for v14 Marina Polyakova --- diff --git a/online_analyze.c b/online_analyze.c index ac268a0..1a50250 100644 --- a/online_analyze.c +++ b/online_analyze.c @@ -845,6 +845,9 @@ onlineAnalyzeHookerUtility( Node *parsetree, #endif const char *queryString, +#if PG_VERSION_NUM >= 140000 + bool readOnlyTree, +#endif #if PG_VERSION_NUM >= 90300 ProcessUtilityContext context, ParamListInfo params, #if PG_VERSION_NUM >= 100000 @@ -963,6 +966,9 @@ onlineAnalyzeHookerUtility( if (oldProcessUtilityHook) oldProcessUtilityHook(parsetree, queryString, +#if PG_VERSION_NUM >= 140000 + readOnlyTree, +#endif #if PG_VERSION_NUM >= 90300 context, params, #if PG_VERSION_NUM >= 100000 @@ -974,6 +980,9 @@ onlineAnalyzeHookerUtility( dest, completionTag); else standard_ProcessUtility(parsetree, queryString, +#if PG_VERSION_NUM >= 140000 + readOnlyTree, +#endif #if PG_VERSION_NUM >= 90300 context, params, #if PG_VERSION_NUM >= 100000