Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3d98a8e commit c69f0f2Copy full SHA for c69f0f2
src/partition_overseer.c
@@ -68,12 +68,13 @@ partition_overseer_create_scan_state(CustomScan *node)
68
static void
69
set_mt_state_for_router(PlanState *state, void *context)
70
{
71
+ int i;
72
ModifyTableState *mt_state = (ModifyTableState *) state;
73
74
if (!IsA(state, ModifyTableState))
75
return;
76
- for (int i = 0; i < mt_state->mt_nplans; i++)
77
+ for (i = 0; i < mt_state->mt_nplans; i++)
78
79
CustomScanState *pf_state = (CustomScanState *) mt_state->mt_plans[i];
80
PartitionRouterState *pr_state;
0 commit comments