Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit afff443

Browse files
committed
Revert changes in execMain.c from commit 16828d5
These changes were put in at some stage of the development process, but are unnecessary and should not have made it into the final patch. Mea culpa. Per gripe from Andreas Freund Backpatch to REL_11_STABLE
1 parent 9353d94 commit afff443

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

src/backend/executor/execMain.c

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2986,17 +2986,8 @@ EvalPlanQualFetchRowMarks(EPQState *epqstate)
29862986
false, NULL))
29872987
elog(ERROR, "failed to fetch tuple for EvalPlanQual recheck");
29882988

2989-
if (HeapTupleHeaderGetNatts(tuple.t_data) <
2990-
RelationGetDescr(erm->relation)->natts)
2991-
{
2992-
copyTuple = heap_expand_tuple(&tuple,
2993-
RelationGetDescr(erm->relation));
2994-
}
2995-
else
2996-
{
2997-
/* successful, copy tuple */
2998-
copyTuple = heap_copytuple(&tuple);
2999-
}
2989+
/* successful, copy tuple */
2990+
copyTuple = heap_copytuple(&tuple);
30002991
ReleaseBuffer(buffer);
30012992
}
30022993

0 commit comments

Comments
 (0)