From: Pavan Deolasee Date: Wed, 27 Jan 2016 02:41:07 +0000 (+0530) Subject: Fix compiler warnings in stormstats, some of which may also cause failures on X-Git-Tag: XL9_5_R1BETA1~59 X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=c9f25fb3290586e2c5b5e062b09b504531464e28;p=postgres-xl.git Fix compiler warnings in stormstats, some of which may also cause failures on other platforms. --- diff --git a/contrib/stormstats/stormstats.c b/contrib/stormstats/stormstats.c index 3a32d7ede8..3387bb9ccc 100644 --- a/contrib/stormstats/stormstats.c +++ b/contrib/stormstats/stormstats.c @@ -19,6 +19,7 @@ #include "nodes/makefuncs.h" #include "funcapi.h" #include "stormstats.h" +#include "storage/fd.h" #include "pgxc/pgxc.h" #include "pgxc/pgxcnode.h" @@ -110,8 +111,8 @@ static int max_tracked_dbs; static void ProcessUtility_callback(Node *parsetree, const char *queryString, + ProcessUtilityContext context, ParamListInfo params, - bool isTopLevel, DestReceiver *dest, #ifdef PGXC bool sentToRemote, @@ -120,7 +121,7 @@ ProcessUtility_callback(Node *parsetree, { elog( DEBUG1, "STORMSTATS: using plugin." ); - standard_ProcessUtility(parsetree, queryString, params, isTopLevel, dest, + standard_ProcessUtility(parsetree, queryString, context, params, dest, #ifdef PGXC sentToRemote, #endif /* PGXC */