From: Teodor Sigaev Date: Mon, 15 Jun 2020 20:49:45 +0000 (+0300) Subject: support v13 X-Git-Url: http://sigaev.ru/git/gitweb.cgi?a=commitdiff_plain;h=543c14f587933dc211a8df9cd4e3bbac4f3bfa1d;p=online_analyze.git support v13 --- 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