diff options
author | Tomas Vondra | 2017-08-21 10:14:43 +0000 |
---|---|---|
committer | Tomas Vondra | 2017-08-21 10:14:43 +0000 |
commit | 80198ecd1572f85be4d17b0f43f0693739769e81 (patch) | |
tree | 22005e871e2e97bf37e6ff278a873635bfcf89bc | |
parent | 61091c76ce7cf3bff2fc12fe658cf5fdc2f26cfb (diff) |
Cast ExecRemoteQuery parameters to (PlanState *) in contrib
Commit d66ec8f444000f861fc3b35e0c65adbd74fd434c fixed ExecRemoteQuery
calls by explicitly casting the parameter to (PlanState *). This commit
does the same thing for calls in stormstats contrib module.
-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); |