diff --git a/src/backend/executor/nodeTidscan.c b/src/backend/executor/nodeTidscan.c index 1763be5cf0..2ba5a2ea69 100644 --- a/src/backend/executor/nodeTidscan.c +++ b/src/backend/executor/nodeTidscan.c @@ -42,7 +42,6 @@ static void TidListCreate(TidScanState *tidstate); static int itemptr_comparator(const void *a, const void *b); static TupleTableSlot *TidNext(TidScanState *node); - /* * Compute the list of TIDs to be visited, by evaluating the expressions * for them. @@ -101,6 +100,7 @@ TidListCreate(TidScanState *tidstate) else if (IsCTIDVar(arg2)) exprstate = ExecInitExpr((Expr *) linitial(fex->args), &tidstate->ss.ps); + else elog(ERROR, "could not identify CTID variable"); itemptr = (ItemPointer)