diff options
Diffstat (limited to 'src/backend/commands')
-rw-r--r-- | src/backend/commands/analyze.c | 8 | ||||
-rw-r--r-- | src/backend/commands/explain.c | 4 | ||||
-rw-r--r-- | src/backend/commands/vacuum.c | 4 |
3 files changed, 8 insertions, 8 deletions
diff --git a/src/backend/commands/analyze.c b/src/backend/commands/analyze.c index 6ffbbc9202..ca48fca486 100644 --- a/src/backend/commands/analyze.c +++ b/src/backend/commands/analyze.c @@ -3114,7 +3114,7 @@ analyze_rel_coordinator(Relation onerel, bool inh, int attr_cnt, for (i = 0; i < attr_cnt; i++) numnodes[i] = 0; - result = ExecRemoteQuery(node); + result = ExecRemoteQuery((PlanState *) node); PopActiveSnapshot(); while (result != NULL && !TupIsNull(result)) { @@ -3351,7 +3351,7 @@ analyze_rel_coordinator(Relation onerel, bool inh, int attr_cnt, } /* fetch next */ - result = ExecRemoteQuery(node); + result = ExecRemoteQuery((PlanState *) node); } ExecEndRemoteQuery(node); @@ -3447,7 +3447,7 @@ analyze_rel_coordinator(Relation onerel, bool inh, int attr_cnt, for (i = 0; i < attr_cnt; i++) numnodes[i] = 0; - result = ExecRemoteQuery(node); + result = ExecRemoteQuery((PlanState *) node); PopActiveSnapshot(); /* @@ -3517,7 +3517,7 @@ analyze_rel_coordinator(Relation onerel, bool inh, int attr_cnt, } /* fetch stats from next node */ - result = ExecRemoteQuery(node); + result = ExecRemoteQuery((PlanState *) node); } ExecEndRemoteQuery(node); } diff --git a/src/backend/commands/explain.c b/src/backend/commands/explain.c index b35a799100..a698e78a47 100644 --- a/src/backend/commands/explain.c +++ b/src/backend/commands/explain.c @@ -3767,7 +3767,7 @@ ExplainRemoteQuery(RemoteQuery *plan, PlanState *planstate, List *ancestors, Exp node = ExecInitRemoteQuery(step, estate, 0); MemoryContextSwitchTo(oldcontext); - result = ExecRemoteQuery(node); + result = ExecRemoteQuery((PlanState *) node); while (result != NULL && !TupIsNull(result)) { Datum value; @@ -3782,7 +3782,7 @@ ExplainRemoteQuery(RemoteQuery *plan, PlanState *planstate, List *ancestors, Exp } /* fetch next */ - result = ExecRemoteQuery(node); + result = ExecRemoteQuery((PlanState *) node); } ExecEndRemoteQuery(node); diff --git a/src/backend/commands/vacuum.c b/src/backend/commands/vacuum.c index 979969bd32..fffae63bcc 100644 --- a/src/backend/commands/vacuum.c +++ b/src/backend/commands/vacuum.c @@ -1745,7 +1745,7 @@ get_remote_relstat(char *nspname, char *relname, bool replicated, validallvisiblepages = 0; validtuples = 0; validfrozenxids = 0; - result = ExecRemoteQuery(node); + result = ExecRemoteQuery((PlanState *) node); while (result != NULL && !TupIsNull(result)) { Datum value; @@ -1788,7 +1788,7 @@ get_remote_relstat(char *nspname, char *relname, bool replicated, } } /* fetch next */ - result = ExecRemoteQuery(node); + result = ExecRemoteQuery((PlanState *) node); } ExecEndRemoteQuery(node); |