aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Riggs <simon@2ndQuadrant.com>2014-12-08 08:44:37 +0900
committerSimon Riggs <simon@2ndQuadrant.com>2014-12-08 08:44:37 +0900
commitc2707547193a1e1f1016552cc92f33e8f0d296d4 (patch)
tree44efa1874ab0d19cf4cf35e579e28d79c9eaf5ab
parent618c9430a82860c84a3be2711eec2c3b43573b2a (diff)
downloadpostgresql-c2707547193a1e1f1016552cc92f33e8f0d296d4.tar.gz
postgresql-c2707547193a1e1f1016552cc92f33e8f0d296d4.zip
Remove duplicate code in heap_prune_chain()
No need to set tuple tableOid twice Jim Nasby
-rw-r--r--src/backend/access/heap/pruneheap.c1
1 files changed, 0 insertions, 1 deletions
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))