projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
618c943
)
Remove duplicate code in heap_prune_chain()
author
Simon Riggs
<
[email protected]
>
Sun, 7 Dec 2014 23:44:37 +0000
(08:44 +0900)
committer
Simon Riggs
<
[email protected]
>
Sun, 7 Dec 2014 23:44:37 +0000
(08:44 +0900)
No need to set tuple tableOid twice
Jim Nasby
src/backend/access/heap/pruneheap.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/access/heap/pruneheap.c
b/src/backend/access/heap/pruneheap.c
index e4561bc3a27d6bd44c4da4ebdc02fafa64d4b7c1..2c0912878bb572623906bd83ebfc9bc0b7863b69 100644
(file)
--- 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))