Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita4ad9af

Browse files
committed
Update obsolete comments.
We no longer have a TLI field in the page header.
1 parent4a781f1 commita4ad9af

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

‎src/backend/access/heap/heapam.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6974,8 +6974,8 @@ log_newpage(RelFileNode *rnode, ForkNumber forkNum, BlockNumber blkno,
69746974
recptr=XLogInsert(RM_HEAP_ID,XLOG_HEAP_NEWPAGE,rdata);
69756975

69766976
/*
6977-
* The page may be uninitialized. If so, we can't set the LSNand TLI
6978-
*becausethat would corrupt the page.
6977+
* The page may be uninitialized. If so, we can't set the LSNbecause
6978+
* that would corrupt the page.
69796979
*/
69806980
if (!PageIsNew(page))
69816981
{

‎src/backend/access/nbtree/nbtinsert.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -996,9 +996,9 @@ _bt_split(Relation rel, Buffer buf, Buffer cbuf, OffsetNumber firstright,
996996
/* rightpage was already initialized by _bt_getbuf */
997997

998998
/*
999-
* Copy the original page's LSNand TLIinto leftpage, which will become
1000-
*theupdated version of the page. We need this because XLogInsert will
1001-
* examinethese fields and possibly dumpthem in a page image.
999+
* Copy the original page's LSN into leftpage, which will become the
1000+
* updated version of the page. We need this because XLogInsert will
1001+
* examinethe LSN and possibly dumpit in a page image.
10021002
*/
10031003
PageSetLSN(leftpage,PageGetLSN(origpage));
10041004

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp