Исходный код СУБД RuDB — свободной СУБД с открытым исходным кодом на базе PostgreSQL
rudb
2 days ago bd039d1e92813358c5c5a1e346b49074baf513f2
1
2
3
4
5
6
7
8
/* src/include/port/freebsd.h */
 
/*
 * Set the default wal_sync_method to fdatasync.  xlogdefs.h's normal rules
 * would prefer open_datasync on FreeBSD 13+, but that is not a good choice on
 * many systems.
 */
#define PLATFORM_DEFAULT_WAL_SYNC_METHOD    WAL_SYNC_METHOD_FDATASYNC