diff options
author | Robert Haas | 2016-04-27 17:46:26 +0000 |
---|---|---|
committer | Robert Haas | 2016-04-27 17:47:07 +0000 |
commit | a31212b429cd3397fb3147b1a584ae33224454a6 (patch) | |
tree | b956570995c9166b1316ed1ceaef2aadb52a36f7 | |
parent | cf402ba7340f66defe25bffa8621a54fd579196e (diff) |
Change postgresql.conf.sample to say that fsync=off will corrupt data.
Discussion: 24748.1461764666@sss.pgh.pa.us
Per a suggestion from Craig Ringer. This wording from Tom Lane,
following discussion.
-rw-r--r-- | src/backend/utils/misc/postgresql.conf.sample | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample index f3e3de0568f..5393fccd48d 100644 --- a/src/backend/utils/misc/postgresql.conf.sample +++ b/src/backend/utils/misc/postgresql.conf.sample @@ -182,7 +182,9 @@ #wal_level = minimal # minimal, replica, or logical # (change requires restart) -#fsync = on # turns forced synchronization on or off +#fsync = on # flush data to disk for crash safety + # (turning this off can cause + # unrecoverable disk corruption) #synchronous_commit = on # synchronization level; # off, local, remote_write, remote_apply, or on #wal_sync_method = fsync # the default is the first option |