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

Commitf86f46d

Browse files
committed
Fix comment
The last argument of smgrextend() was renamed from isTemp to skipFsyncindebcec7, but the comments at twocall sites were not updated.
1 parent52ad1e6 commitf86f46d

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

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

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -703,10 +703,9 @@ raw_heap_insert(RewriteState state, HeapTuple tup)
703703
true);
704704

705705
/*
706-
* Now write the page. We say isTemp = true even if it's not a
707-
* temp table, because there's no need for smgr to schedule an
708-
* fsync for this write; we'll do it ourselves in
709-
* end_heap_rewrite.
706+
* Now write the page. We say skipFsync = true because there's no
707+
* need for smgr to schedule an fsync for this write; we'll do it
708+
* ourselves in end_heap_rewrite.
710709
*/
711710
RelationOpenSmgr(state->rs_new_rel);
712711

‎src/backend/catalog/storage.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -390,9 +390,9 @@ RelationCopyStorage(SMgrRelation src, SMgrRelation dst,
390390
PageSetChecksumInplace(page,blkno);
391391

392392
/*
393-
* Now write the page. We sayisTemp = trueeven if it'snot a temp
394-
*rel, because there's noneed for smgr to schedule an fsync for this
395-
*write; we'll do itourselves below.
393+
* Now write the page. We sayskipFsync = truebecause there'sno
394+
* need for smgr to schedule an fsync for this write; we'll do it
395+
* ourselves below.
396396
*/
397397
smgrextend(dst,forkNum,blkno,buf.data, true);
398398
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp