Skip to content
Snippets Groups Projects
Commit c2707547 authored by Simon Riggs's avatar Simon Riggs
Browse files

Remove duplicate code in heap_prune_chain()

No need to set tuple tableOid twice

Jim Nasby
parent 618c9430
No related branches found
No related tags found
No related merge requests found
......@@ -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))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment