mirror of https://github.com/citusdata/citus.git
allow ctid system column
parent
32421449c1
commit
f211b3278f
|
@ -384,10 +384,21 @@ ColumnarAttrNeeded(ScanState *ss)
|
||||||
Var *var = lfirst(lc);
|
Var *var = lfirst(lc);
|
||||||
|
|
||||||
if (var->varattno < 0)
|
if (var->varattno < 0)
|
||||||
|
{
|
||||||
|
switch (var->varattno)
|
||||||
|
{
|
||||||
|
case SelfItemPointerAttributeNumber:
|
||||||
|
{
|
||||||
|
ereport(DEBUG5, (errmsg("querying ctid")));
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
default:
|
||||||
{
|
{
|
||||||
ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
|
ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
|
||||||
errmsg(
|
errmsg("unsupported system column")));
|
||||||
"UPDATE and CTID scans not supported for ColumnarScan")));
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (var->varattno == 0)
|
if (var->varattno == 0)
|
||||||
|
|
Loading…
Reference in New Issue