Commit a4ad9afe authored by Heikki Linnakangas's avatar Heikki Linnakangas

Update obsolete comments.

We no longer have a TLI field in the page header.
parent 4a781f1e
...@@ -6974,8 +6974,8 @@ log_newpage(RelFileNode *rnode, ForkNumber forkNum, BlockNumber blkno, ...@@ -6974,8 +6974,8 @@ log_newpage(RelFileNode *rnode, ForkNumber forkNum, BlockNumber blkno,
recptr = XLogInsert(RM_HEAP_ID, XLOG_HEAP_NEWPAGE, rdata); recptr = XLogInsert(RM_HEAP_ID, XLOG_HEAP_NEWPAGE, rdata);
/* /*
* The page may be uninitialized. If so, we can't set the LSN and TLI * The page may be uninitialized. If so, we can't set the LSN because
* because that would corrupt the page. * that would corrupt the page.
*/ */
if (!PageIsNew(page)) if (!PageIsNew(page))
{ {
......
...@@ -996,9 +996,9 @@ _bt_split(Relation rel, Buffer buf, Buffer cbuf, OffsetNumber firstright, ...@@ -996,9 +996,9 @@ _bt_split(Relation rel, Buffer buf, Buffer cbuf, OffsetNumber firstright,
/* rightpage was already initialized by _bt_getbuf */ /* rightpage was already initialized by _bt_getbuf */
/* /*
* Copy the original page's LSN and TLI into leftpage, which will become * Copy the original page's LSN into leftpage, which will become the
* the updated version of the page. We need this because XLogInsert will * updated version of the page. We need this because XLogInsert will
* examine these fields and possibly dump them in a page image. * examine the LSN and possibly dump it in a page image.
*/ */
PageSetLSN(leftpage, PageGetLSN(origpage)); PageSetLSN(leftpage, PageGetLSN(origpage));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment