diff options
-rw-r--r-- | contrib/stormstats/stormstats.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/stormstats/stormstats.c b/contrib/stormstats/stormstats.c index 12af8ab3ca..72c7150fb0 100644 --- a/contrib/stormstats/stormstats.c +++ b/contrib/stormstats/stormstats.c @@ -686,7 +686,7 @@ storm_gather_remote_coord_info(Oid funcid) node = ExecInitRemoteQuery(step, estate, 0); MemoryContextSwitchTo(oldcontext); /* get ready to combine results */ - result = ExecRemoteQuery(node); + result = ExecRemoteQuery((PlanState *) node); while (result != NULL && !TupIsNull(result)) { Datum value; @@ -743,7 +743,7 @@ storm_gather_remote_coord_info(Oid funcid) entry->counters.ddl_cnt += DatumGetInt64(value); /* fetch next */ - result = ExecRemoteQuery(node); + result = ExecRemoteQuery((PlanState *) node); } ExecEndRemoteQuery(node); |