summaryrefslogtreecommitdiff
path: root/src/backend/commands/explain.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/commands/explain.c')
-rw-r--r--src/backend/commands/explain.c4
1 files changed, 2 insertions, 2 deletions
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);