]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
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:42:01 +0000 (14:42 +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 9283b70a420e248a46fd4cc35d468647b27c95be..1608f48c95c001bacb60dcbf0a84f91095b50c68 100644 (file)
@@ -6541,8 +6541,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 d608e478ba6f158f1ce330de557fd0102b295f3a..8bf4344cdeddf8e32ce804570d9daea375ba8880 100644 (file)
@@ -943,9 +943,9 @@ _bt_split(Relation rel, Buffer buf, 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));