aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor
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:25 -0400
commit5c047fd709ae274d5d543b250c70cc2b15e4fe65 (patch)
treeb89117a49efb1b4afaf3b9c4ef81f31eddb6a14f /src/backend/executor
parent4974d7f87e62a58e80c6524e49677cb25cc10e12 (diff)
downloadpostgresql-5c047fd709ae274d5d543b250c70cc2b15e4fe65.tar.gz
postgresql-5c047fd709ae274d5d543b250c70cc2b15e4fe65.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
Diffstat (limited to 'src/backend/executor')
-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);
}