mirror of
https://github.com/postgres/postgres.git
synced 2025-11-24 00:23:06 +03:00
Fix comment
The last argument of smgrextend() was renamed from isTemp to skipFsync
in debcec7dc3, but the comments at two
call sites were not updated.
This commit is contained in:
@@ -390,9 +390,9 @@ RelationCopyStorage(SMgrRelation src, SMgrRelation dst,
|
||||
PageSetChecksumInplace(page, blkno);
|
||||
|
||||
/*
|
||||
* Now write the page. We say isTemp = true even if it's not a temp
|
||||
* rel, because there's no need for smgr to schedule an fsync for this
|
||||
* write; we'll do it ourselves below.
|
||||
* Now write the page. We say skipFsync = true because there's no
|
||||
* need for smgr to schedule an fsync for this write; we'll do it
|
||||
* ourselves below.
|
||||
*/
|
||||
smgrextend(dst, forkNum, blkno, buf.data, true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user