From 8a3373d267d4a224e4d7c26c4aef4f23056f9d7c Mon Sep 17 00:00:00 2001 From: Teodor Sigaev Date: Mon, 21 Jun 2021 13:00:13 +0300 Subject: [PATCH] Support for v14 Marina Polyakova --- online_analyze.c | 9 +++++++++ 1 file changed, 9 insertions(+) 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 -- 2.46.1