From: Simon Riggs Date: Sun, 7 Dec 2014 23:44:37 +0000 (+0900) Subject: Remove duplicate code in heap_prune_chain() X-Git-Tag: REL9_5_ALPHA1~1092 X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=c2707547193a1e1f1016552cc92f33e8f0d296d4;p=postgresql.git Remove duplicate code in heap_prune_chain() No need to set tuple tableOid twice Jim Nasby --- 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))