postgresql/src/backend
Thomas Munro f900a79ecd 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 576477e73c, 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
2021-02-15 16:04:59 +13:00
..
access ReadNewTransactionId() -> ReadNextTransactionId(). 2021-02-15 13:17:02 +13:00
bootstrap Update copyright for 2021 2021-01-02 13:06:25 -05:00
catalog Allow multiple xacts during table sync in logical replication. 2021-02-12 07:41:51 +05:30
commands Fix the warnings introduced in commit ce0fdbfe97. 2021-02-15 07:28:02 +05:30
executor Fix permission checks on constraint violation errors on partitions. 2021-02-08 11:01:51 +02:00
foreign Update copyright for 2021 2021-01-02 13:06:25 -05:00
jit Update copyright for 2021 2021-01-02 13:06:25 -05:00
lib Update copyright for 2021 2021-01-02 13:06:25 -05:00
libpq Add result size as argument of pg_cryptohash_final() for overflow checks 2021-02-15 10:18:34 +09:00
main Update copyright for 2021 2021-01-02 13:06:25 -05:00
nodes Remove [Merge]AppendPath.partitioned_rels. 2021-02-01 14:43:54 -05:00
optimizer Remove [Merge]AppendPath.partitioned_rels. 2021-02-01 14:43:54 -05:00
parser Remove no-longer-used RTE argument of markVarForSelectPriv(). 2021-02-11 11:23:25 -05:00
partitioning Remove [Merge]AppendPath.partitioned_rels. 2021-02-01 14:43:54 -05:00
po Translation updates 2020-05-18 12:49:30 +02:00
port Refactor Windows error message for easier translation 2021-02-04 13:31:13 +01:00
postmaster ReadNewTransactionId() -> ReadNextTransactionId(). 2021-02-15 13:17:02 +13:00
regex Minor fixes to improve regex debugging code. 2021-02-14 19:53:42 -05:00
replication Fix the warnings introduced in commit ce0fdbfe97. 2021-02-15 07:28:02 +05:30
rewrite Revert "Propagate CTE property flags when copying a CTE list into a rule." 2021-02-07 12:54:08 -05:00
snowball Update copyright for 2021 2021-01-02 13:06:25 -05:00
statistics Update copyright for 2021 2021-01-02 13:06:25 -05:00
storage Hold interrupts while running dsm_detach() callbacks. 2021-02-15 14:27:33 +13:00
tcop Allow multiple xacts during table sync in logical replication. 2021-02-12 07:41:51 +05:30
tsearch Fix parsing of complex morphs to tsquery 2021-01-31 20:14:29 +03:00
utils Default to wal_sync_method=fdatasync on FreeBSD. 2021-02-15 16:04:59 +13:00
.gitignore
Makefile Update copyright for 2021 2021-01-02 13:06:25 -05:00
common.mk Remove PARTIAL_LINKING build mode. 2018-03-30 17:33:04 -07:00
nls.mk Add missing gettext triggers 2020-04-28 13:35:40 +02:00