aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dunstan <andrew@dunslane.net>2018-08-10 16:05:54 -0400
committerAndrew Dunstan <andrew@dunslane.net>2018-08-10 16:09:13 -0400
commitafff44303cc316d2fe8ad15ac5a5fc90d59dcd67 (patch)
tree4a148493a2e210e729b673e4c5b5e924b1b2b1ce
parent9353d94a9b70c6cbe181f78e49b2e8c1dc38eada (diff)
downloadpostgresql-afff44303cc316d2fe8ad15ac5a5fc90d59dcd67.tar.gz
postgresql-afff44303cc316d2fe8ad15ac5a5fc90d59dcd67.zip
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
-rw-r--r--src/backend/executor/execMain.c13
1 files changed, 2 insertions, 11 deletions
diff --git a/src/backend/executor/execMain.c b/src/backend/executor/execMain.c
index 01e1a461804..b797d064b7e 100644
--- a/src/backend/executor/execMain.c
+++ b/src/backend/executor/execMain.c
@@ -2986,17 +2986,8 @@ EvalPlanQualFetchRowMarks(EPQState *epqstate)
false, NULL))
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 */
- copyTuple = heap_copytuple(&tuple);
- }
+ /* successful, copy tuple */
+ copyTuple = heap_copytuple(&tuple);
ReleaseBuffer(buffer);
}