aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access
diff options
context:
space:
mode:
authorThomas Munro <tmunro@postgresql.org>2021-02-15 15:43:39 +1300
committerThomas Munro <tmunro@postgresql.org>2021-02-15 16:08:24 +1300
commit800131df74c4b870b6a459bcee0acc0bb89f75ff (patch)
treed03231467c69c1d1d4d09ae393b1e4d59d3646ec /src/backend/access
parent4b426f77c3cf7fab24115ddb99174d1efa311aee (diff)
downloadpostgresql-800131df74c4b870b6a459bcee0acc0bb89f75ff.tar.gz
postgresql-800131df74c4b870b6a459bcee0acc0bb89f75ff.zip
Default to wal_sync_method=fdatasync on FreeBSD.
FreeBSD 13 gained O_DSYNC, which would normally cause wal_sync_method to choose open_datasync as its default value. That may not be a good choice for all systems, and performs worse than fdatasync in some scenarios. Let's preserve the existing default behavior for now. Like commit 576477e73c4, which did the same for Linux, back-patch to all supported releases. Discussion: https://postgr.es/m/CA%2BhUKGLsAMXBQrCxCXoW-JsUYmdOL8ALYvaX%3DCrHqWxm-nWbGA%40mail.gmail.com
Diffstat (limited to 'src/backend/access')
0 files changed, 0 insertions, 0 deletions