postgres.git / summary / log / commit / refs

commit    c2707547193a1e1f1016552cc92f33e8f0d296d4
Author:   Simon Riggs <simon@2ndQuadrant.com>
Date:     Sun Dec 07 23:44:37 2014 +0000
First released in: 9.5.0

    Remove duplicate code in heap_prune_chain()
    
    No need to set tuple tableOid twice
    
    Jim Nasby


src/backend/access/heap/pruneheap.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/backend/access/heap/pruneheap.c b/src/backend/access/heap/pruneheap.c index e4561bc3a27..2c0912878bb 100644 --- a/src/backend/access/heap/pruneheap.c +++ b/src/backend/access/heap/pruneheap.c @@ -372,7 +372,6 @@ heap_prune_chain(Relation relation, Buffer buffer, OffsetNumber rootoffnum, tup.t_data = htup; tup.t_len = ItemIdGetLength(rootlp); - tup.t_tableOid = RelationGetRelid(relation); ItemPointerSet(&(tup.t_self), BufferGetBlockNumber(buffer), rootoffnum); if (HeapTupleHeaderIsHeapOnly(htup)) [parent: 618c9430a828]