Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a31212b

Browse filesBrowse files
committed
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.
1 parent cf402ba commit a31212b
Copy full SHA for a31212b

File tree

Expand file treeCollapse file tree

1 file changed

+3
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-1
lines changed

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

Copy file name to clipboardExpand all lines: src/backend/utils/misc/postgresql.conf.sample
+3-1Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,9 @@
182182

183183
#wal_level = minimal # minimal, replica, or logical
184184
# (change requires restart)
185-
#fsync = on # turns forced synchronization on or off
185+
#fsync = on # flush data to disk for crash safety
186+
# (turning this off can cause
187+
# unrecoverable disk corruption)
186188
#synchronous_commit = on # synchronization level;
187189
# off, local, remote_write, remote_apply, or on
188190
#wal_sync_method = fsync # the default is the first option

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.