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

Commitf468c64

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

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
@@ -6541,8 +6541,8 @@ log_newpage(RelFileNode *rnode, ForkNumber forkNum, BlockNumber blkno,
65416541
recptr=XLogInsert(RM_HEAP_ID,XLOG_HEAP_NEWPAGE,rdata);
65426542

65436543
/*
6544-
* The page may be uninitialized. If so, we can't set the LSNand TLI
6545-
*becausethat would corrupt the page.
6544+
* The page may be uninitialized. If so, we can't set the LSNbecause
6545+
* that would corrupt the page.
65466546
*/
65476547
if (!PageIsNew(page))
65486548
{

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

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

945945
/*
946-
* Copy the original page's LSNand TLIinto leftpage, which will become
947-
*theupdated version of the page. We need this because XLogInsert will
948-
* examinethese fields and possibly dumpthem in a page image.
946+
* Copy the original page's LSN into leftpage, which will become the
947+
* updated version of the page. We need this because XLogInsert will
948+
* examinethe LSN and possibly dumpit in a page image.
949949
*/
950950
PageSetLSN(leftpage,PageGetLSN(origpage));
951951

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp