]> granicus.if.org Git - postgresql/commitdiff
Change postgresql.conf.sample to say that fsync=off will corrupt data.
authorRobert Haas <rhaas@postgresql.org>
Wed, 27 Apr 2016 17:46:26 +0000 (13:46 -0400)
committerRobert Haas <rhaas@postgresql.org>
Wed, 27 Apr 2016 17:47:07 +0000 (13:47 -0400)
Discussion: 24748.1461764666@sss.pgh.pa.us

Per a suggestion from Craig Ringer.  This wording from Tom Lane,
following discussion.

src/backend/utils/misc/postgresql.conf.sample

index f3e3de0568f5d9c6455cc23c6f06a87ccb324200..5393fccd48dad2db0d382a790bf21f936c8d0c06 100644 (file)
 
 #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