From 543c14f587933dc211a8df9cd4e3bbac4f3bfa1d Mon Sep 17 00:00:00 2001 From: Teodor Sigaev Date: Mon, 15 Jun 2020 23:49:45 +0300 Subject: [PATCH] support v13 --- online_analyze.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/online_analyze.c b/online_analyze.c index 58ac74f..b53ff83 100644 --- a/online_analyze.c +++ b/online_analyze.c @@ -55,6 +55,9 @@ #if PG_VERSION_NUM >= 100000 #include "utils/varlena.h" #include "utils/regproc.h" +#if PG_VERSION_NUM >= 130000 +#include "common/hashfn.h" +#endif #endif #endif #endif @@ -848,7 +851,13 @@ onlineAnalyzeHookerUtility( #else ParamListInfo params, bool isTopLevel, #endif - DestReceiver *dest, char *completionTag) { + DestReceiver *dest, +#if PG_VERSION_NUM >= 130000 + QueryCompletion *completionTag +#else + char *completionTag +#endif +) { List *tblnames = NIL; CmdKind op = CK_INSERT; #if PG_VERSION_NUM >= 100000 -- 2.46.1