Skip to content

Commit f468c64

Browse files
committed
Update obsolete comments.
We no longer have a TLI field in the page header.
1 parent b601624 commit f468c64

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/backend/access/heap/heapam.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6541,8 +6541,8 @@ log_newpage(RelFileNode *rnode, ForkNumber forkNum, BlockNumber blkno,
65416541
recptr = XLogInsert(RM_HEAP_ID, XLOG_HEAP_NEWPAGE, rdata);
65426542

65436543
/*
6544-
* The page may be uninitialized. If so, we can't set the LSN and TLI
6545-
* because that would corrupt the page.
6544+
* The page may be uninitialized. If so, we can't set the LSN because
6545+
* that would corrupt the page.
65466546
*/
65476547
if (!PageIsNew(page))
65486548
{

src/backend/access/nbtree/nbtinsert.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -943,9 +943,9 @@ _bt_split(Relation rel, Buffer buf, OffsetNumber firstright,
943943
/* rightpage was already initialized by _bt_getbuf */
944944

945945
/*
946-
* Copy the original page's LSN and TLI into leftpage, which will become
947-
* the updated version of the page. We need this because XLogInsert will
948-
* examine these fields and possibly dump them in a page image.
946+
* Copy the original page's LSN into leftpage, which will become the
947+
* updated version of the page. We need this because XLogInsert will
948+
* examine the LSN and possibly dump it in a page image.
949949
*/
950950
PageSetLSN(leftpage, PageGetLSN(origpage));
951951

0 commit comments

Comments
 (0)