Contents
recovery_init_sync_method
A system parameter determining how to synchronize data directory files before recovery starts
recovery_init_sync_method
is a configuration parameter determining the method to use for synchronizing all files in the data directory before crash recovery begins.
recovery_init_sync_method
was added in PostgreSQL 14.
Default value
The default value for recovery_init_sync_method
is: fsync
.
Usage
Following values can be set:
fsync
syncfs
Note that syncfs
is available on Linux only.
Change history
- PostgreSQL 14
- added (commit 61752afb)
References
- PostgreSQL documentation: recovery_init_sync_method