mirror of https://github.com/citusdata/citus.git
parent
a5e9b29630
commit
e8a8d300ec
|
@ -616,6 +616,13 @@ ExecuteSingleSelectTask(CitusScanState *scanState, Task *task)
|
||||||
placementAccessList = list_make1(placementAccess);
|
placementAccessList = list_make1(placementAccess);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (placementAccessList == NIL)
|
||||||
|
{
|
||||||
|
ereport(ERROR, (errcode(ERRCODE_T_R_SERIALIZATION_FAILURE),
|
||||||
|
errmsg("a placement was moved after the SELECT was "
|
||||||
|
"planned")));
|
||||||
|
}
|
||||||
|
|
||||||
connection = GetPlacementListConnection(connectionFlags, placementAccessList,
|
connection = GetPlacementListConnection(connectionFlags, placementAccessList,
|
||||||
NULL);
|
NULL);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue