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

Commit5ca543f

Browse files
committed
Clarify C comment that O_SYNC/O_FSYNC are really the same settting, as
opposed to O_DSYNC.
1 parent26174d5 commit5ca543f

File tree

1 file changed

+1
-1
lines changed
  • src/backend/access/transam

1 file changed

+1
-1
lines changed

‎src/backend/access/transam/xlog.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8600,7 +8600,7 @@ get_sync_bit(int method)
86008600

86018601
/*
86028602
* Optimize writes by bypassing kernel cache with O_DIRECT when using
8603-
* O_SYNC, O_DSYNC or O_FSYNC. But only if archiving and streaming are
8603+
* O_SYNC/O_FSYNC and O_DSYNC. But only if archiving and streaming are
86048604
* disabled, otherwise the archive command or walsender process will read
86058605
* the WAL soon after writing it, which is guaranteed to cause a physical
86068606
* read if we bypassed the kernel cache. We also skip the

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp