mirror of
https://github.com/postgres/postgres.git
synced 2025-04-21 12:05:57 +03:00
Revert changes in execMain.c from commit 16828d5c0273b
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
This commit is contained in:
parent
4974d7f87e
commit
5c047fd709
@ -2986,17 +2986,8 @@ EvalPlanQualFetchRowMarks(EPQState *epqstate)
|
|||||||
false, NULL))
|
false, NULL))
|
||||||
elog(ERROR, "failed to fetch tuple for EvalPlanQual recheck");
|
elog(ERROR, "failed to fetch tuple for EvalPlanQual recheck");
|
||||||
|
|
||||||
if (HeapTupleHeaderGetNatts(tuple.t_data) <
|
|
||||||
RelationGetDescr(erm->relation)->natts)
|
|
||||||
{
|
|
||||||
copyTuple = heap_expand_tuple(&tuple,
|
|
||||||
RelationGetDescr(erm->relation));
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
/* successful, copy tuple */
|
/* successful, copy tuple */
|
||||||
copyTuple = heap_copytuple(&tuple);
|
copyTuple = heap_copytuple(&tuple);
|
||||||
}
|
|
||||||
ReleaseBuffer(buffer);
|
ReleaseBuffer(buffer);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user