diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2014-04-23 14:39:12 +0300 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2014-04-23 14:42:01 +0300 |
commit | f468c64cb68fddcdf169c0b4fd8c88aa425d3116 (patch) | |
tree | fc419da972932747b576a680c4a9df0cbe5422ab | |
parent | b60162402606608dfc2fb5e2aca85caf7adc1e42 (diff) | |
download | postgresql-f468c64cb68fddcdf169c0b4fd8c88aa425d3116.tar.gz postgresql-f468c64cb68fddcdf169c0b4fd8c88aa425d3116.zip |
Update obsolete comments.
We no longer have a TLI field in the page header.
-rw-r--r-- | src/backend/access/heap/heapam.c | 4 | ||||
-rw-r--r-- | src/backend/access/nbtree/nbtinsert.c | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/backend/access/heap/heapam.c b/src/backend/access/heap/heapam.c index 9283b70a420..1608f48c95c 100644 --- a/src/backend/access/heap/heapam.c +++ b/src/backend/access/heap/heapam.c @@ -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)) { diff --git a/src/backend/access/nbtree/nbtinsert.c b/src/backend/access/nbtree/nbtinsert.c index d608e478ba6..8bf4344cded 100644 --- a/src/backend/access/nbtree/nbtinsert.c +++ b/src/backend/access/nbtree/nbtinsert.c @@ -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)); |