aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2014-04-23 14:39:12 +0300
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2014-04-23 14:41:51 +0300
commita4ad9afec2c2266105736ff8d78870356867cc37 (patch)
treeffa98b07438a4bab4fd1bd0d965e35c3880ac2d4 /src
parent4a781f1e6cf3be5ca84f09804f7d7c3a2180210b (diff)
downloadpostgresql-a4ad9afec2c2266105736ff8d78870356867cc37.tar.gz
postgresql-a4ad9afec2c2266105736ff8d78870356867cc37.zip
Update obsolete comments.
We no longer have a TLI field in the page header.
Diffstat (limited to 'src')
-rw-r--r--src/backend/access/heap/heapam.c4
-rw-r--r--src/backend/access/nbtree/nbtinsert.c6
2 files changed, 5 insertions, 5 deletions
diff --git a/src/backend/access/heap/heapam.c b/src/backend/access/heap/heapam.c
index 2605f205e27..7217e96d6a3 100644
--- a/src/backend/access/heap/heapam.c
+++ b/src/backend/access/heap/heapam.c
@@ -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))
{
diff --git a/src/backend/access/nbtree/nbtinsert.c b/src/backend/access/nbtree/nbtinsert.c
index 48cb809a0f5..0d806af5055 100644
--- a/src/backend/access/nbtree/nbtinsert.c
+++ b/src/backend/access/nbtree/nbtinsert.c
@@ -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));