Update obsolete comments.

We no longer have a TLI field in the page header.
This commit is contained in:
Heikki Linnakangas 2014-04-23 14:39:12 +03:00
parent 4a781f1e6c
commit a4ad9afec2
2 changed files with 5 additions and 5 deletions

View File

@ -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))
{ {

View File

@ -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));