- Notifications
You must be signed in to change notification settings - Fork4.9k
Commit800131d
committed
Default to wal_sync_method=fdatasync on FreeBSD.
FreeBSD 13 gained O_DSYNC, which would normally cause wal_sync_method tochoose open_datasync as its default value. That may not be a goodchoice for all systems, and performs worse than fdatasync in somescenarios. Let's preserve the existing default behavior for now.Like commit576477e, which did the same for Linux, back-patch to allsupported releases.Discussion:https://postgr.es/m/CA%2BhUKGLsAMXBQrCxCXoW-JsUYmdOL8ALYvaX%3DCrHqWxm-nWbGA%40mail.gmail.com1 parent4b426f7 commit800131d
File tree
3 files changed
+12
-3
lines changed- doc/src/sgml
- src
- backend/utils/misc
- include/port
3 files changed
+12
-3
lines changedLines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2537 | 2537 |
| |
2538 | 2538 |
| |
2539 | 2539 |
| |
2540 |
| - | |
2541 |
| - | |
| 2540 | + | |
| 2541 | + | |
2542 | 2542 |
| |
2543 | 2543 |
| |
2544 | 2544 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
187 | 187 |
| |
188 | 188 |
| |
189 | 189 |
| |
190 |
| - | |
| 190 | + | |
191 | 191 |
| |
192 | 192 |
| |
193 | 193 |
| |
|
Lines changed: 9 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + |
0 commit comments
Comments
(0)