forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitd0c2860
committed
Remove wal_sync_method=fsync_writethrough on Windows.
The "fsync" level already flushes drive write caches on Windows (as does"fdatasync"), so it only confuses matters to have an apparently higherlevel that isn't actually different at all.That leaves "fsync_writethrough" only for macOS, where it actually doessomething different.Reviewed-by: Magnus Hagander <magnus@hagander.net>Discussion:https://postgr.es/m/CA%2BhUKGJ2CG2SouPv2mca2WCTOJxYumvBARRcKPraFMB6GSEMcA%40mail.gmail.com1 parentaea7fe3 commitd0c2860
File tree
4 files changed
+5
-18
lines changed- doc/src/sgml
- src
- backend/storage/file
- bin/pg_test_fsync
- include/port
4 files changed
+5
-18
lines changedLines changed: 2 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
109 | 109 |
| |
110 | 110 |
| |
111 | 111 |
| |
112 |
| - | |
113 |
| - | |
114 |
| - | |
| 112 | + | |
| 113 | + | |
115 | 114 |
| |
116 | 115 |
| |
117 | 116 |
| |
|
Lines changed: 2 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
399 | 399 |
| |
400 | 400 |
| |
401 | 401 |
| |
402 |
| - | |
| 402 | + | |
403 | 403 |
| |
404 | 404 |
| |
405 | 405 |
| |
| |||
437 | 437 |
| |
438 | 438 |
| |
439 | 439 |
| |
440 |
| - | |
441 |
| - | |
442 |
| - | |
| 440 | + | |
443 | 441 |
| |
444 | 442 |
| |
445 | 443 |
| |
|
Lines changed: 1 addition & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
605 | 605 |
| |
606 | 606 |
| |
607 | 607 |
| |
608 |
| - | |
609 |
| - | |
610 |
| - | |
| 608 | + | |
611 | 609 |
| |
612 | 610 |
| |
613 | 611 |
| |
|
Lines changed: 0 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
84 | 84 |
| |
85 | 85 |
| |
86 | 86 |
| |
87 |
| - | |
88 |
| - | |
89 |
| - | |
90 |
| - | |
91 |
| - | |
92 |
| - | |
93 |
| - | |
94 |
| - | |
95 | 87 |
| |
96 | 88 |
| |
97 | 89 |
| |
|
0 commit comments
Comments
(0)