mirror of
https://github.com/postgres/postgres.git
synced 2025-07-14 08:21:07 +03:00
Support syncing WAL log to disk using either fsync(), fdatasync(),
O_SYNC, or O_DSYNC (as available on a given platform). Add GUC parameter to control sync method. Also, add defense to XLogWrite to prevent it from going nuts if passed a target write position that's past the end of the buffers so far filled by XLogInsert.
This commit is contained in:
@ -107,6 +107,8 @@
|
||||
#
|
||||
#wal_buffers = 8 # min 4
|
||||
#wal_files = 0 # range 0-64
|
||||
#wal_sync_method = fsync # fsync or fdatasync or open_sync or open_datasync
|
||||
# Note: default wal_sync_method varies across platforms
|
||||
#wal_debug = 0 # range 0-16
|
||||
#commit_delay = 0 # range 0-100000
|
||||
#commit_siblings = 5 # range 1-1000
|
||||
|
Reference in New Issue
Block a user