Skip to content

Commit a4ad9af

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

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
@@ -6974,8 +6974,8 @@ log_newpage(RelFileNode *rnode, ForkNumber forkNum, BlockNumber blkno,
69746974
recptr = XLogInsert(RM_HEAP_ID, XLOG_HEAP_NEWPAGE, rdata);
69756975

69766976
/*
6977-
* The page may be uninitialized. If so, we can't set the LSN and TLI
6978-
* because that would corrupt the page.
6977+
* The page may be uninitialized. If so, we can't set the LSN because
6978+
* that would corrupt the page.
69796979
*/
69806980
if (!PageIsNew(page))
69816981
{

src/backend/access/nbtree/nbtinsert.c

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

998998
/*
999-
* Copy the original page's LSN and TLI into leftpage, which will become
1000-
* the updated version of the page. We need this because XLogInsert will
1001-
* examine these fields and possibly dump them in a page image.
999+
* Copy the original page's LSN into leftpage, which will become the
1000+
* updated version of the page. We need this because XLogInsert will
1001+
* examine the LSN and possibly dump it in a page image.
10021002
*/
10031003
PageSetLSN(leftpage, PageGetLSN(origpage));
10041004

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy