Update obsolete comments.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Wed, 23 Apr 2014 11:39:12 +0000 (14:39 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Wed, 23 Apr 2014 11:41:51 +0000 (14:41 +0300)
We no longer have a TLI field in the page header.

src/backend/access/heap/heapam.c
src/backend/access/nbtree/nbtinsert.c

index 2605f205e27d3acd273c484056c0c87bc3382bc8..7217e96d6a370003cd2eb6c1690c937a96e1cc3e 100644 (file)
@@ -6974,8 +6974,8 @@ log_newpage(RelFileNode *rnode, ForkNumber forkNum, BlockNumber blkno,
    recptr = XLogInsert(RM_HEAP_ID, XLOG_HEAP_NEWPAGE, rdata);
 
    /*
-    * The page may be uninitialized. If so, we can't set the LSN and TLI
-    * because that would corrupt the page.
+    * The page may be uninitialized. If so, we can't set the LSN because
+    * that would corrupt the page.
     */
    if (!PageIsNew(page))
    {
index 48cb809a0f58a4dffd46481ea03bd7d8ff5efff6..0d806af5055c73793fd849f2d22b36dcccfc2d6c 100644 (file)
@@ -996,9 +996,9 @@ _bt_split(Relation rel, Buffer buf, Buffer cbuf, OffsetNumber firstright,
    /* rightpage was already initialized by _bt_getbuf */
 
    /*
-    * Copy the original page's LSN and TLI into leftpage, which will become
-    * the updated version of the page.  We need this because XLogInsert will
-    * examine these fields and possibly dump them in a page image.
+    * Copy the original page's LSN into leftpage, which will become the
+    * updated version of the page.  We need this because XLogInsert will
+    * examine the LSN and possibly dump it in a page image.
     */
    PageSetLSN(leftpage, PageGetLSN(origpage));