mirror of
https://github.com/postgres/postgres.git
synced 2026-06-10 09:10:33 -04:00
Remove duplicate code in heap_prune_chain()
No need to set tuple tableOid twice Jim Nasby
This commit is contained in:
parent
618c9430a8
commit
c270754719
1 changed files with 0 additions and 1 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Reference in a new issue