postgres.git / summary / log / commit / refs

commit    afff44303cc316d2fe8ad15ac5a5fc90d59dcd67
Author:   Andrew Dunstan <andrew@dunslane.net>
Date:     Fri Aug 10 20:05:54 2018 +0000
First released in: 12.0, 11.0

    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


src/backend/executor/execMain.c | 13 ++----------- 1 file 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); } [parent: 9353d94a9b70]