remove-Item-as-variable_v1.patch
text/x-diff
Filename: remove-Item-as-variable_v1.patch
Type: text/x-diff
Part: 1
Patch
Format: unified
Series: patch v1
| File | + | − |
|---|---|---|
| src/backend/access/heap/hio.c | 0 | 0 |
diff --git a/src/backend/access/heap/hio.c b/src/backend/access/heap/hio.c
new file mode 100644
index 0d7bc68..179f78e
*** a/src/backend/access/heap/hio.c
--- b/src/backend/access/heap/hio.c
*************** RelationPutHeapTuple(Relation relation,
*** 66,75 ****
*/
if (!token)
{
! ItemId itemId = PageGetItemId(pageHeader, offnum);
! Item item = PageGetItem(pageHeader, itemId);
! ((HeapTupleHeader) item)->t_ctid = tuple->t_self;
}
}
--- 66,75 ----
*/
if (!token)
{
! ItemId itemId = PageGetItemId(pageHeader, offnum);
! HeapTupleHeader item = (HeapTupleHeader) PageGetItem(pageHeader, itemId);
! item->t_ctid = tuple->t_self;
}
}