From: Abhijit Menon-Sen <ams@2ndQuadrant.com>
To: pgsql-hackers@postgresql.org
Cc: Magnus Hagander <magnus@hagander.net>
Cc: Craig Ringer <craig@2ndquadrant.com>
Cc: Petr Jelinek <petr@2ndquadrant.com>
Subject: Re: 9.6 and fsync=off
Date: Wed, 27 Apr 2016 16:27:57 +0530
Message-ID: <20160427105756.GB4861@toroid.org> (raw)
In-Reply-To: <57209AE7.9020906@2ndquadrant.com>
References: <CAMsr+YGechDvrFj4xwoBWhJ7rW25Avqo+UqcyqbnS=LTFdGJ4g@mail.gmail.com>
<20160427104307.GA4861@toroid.org>
<CABUevExGL-FWNP0pyCH_9nY==i1ogP-v8XNXpQyDaEp7u4ypCA@mail.gmail.com>
<57209AE7.9020906@2ndquadrant.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>
Here's a patch just to help things along.
-- Abhijit
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackersAttachments:fsync.diff (text/x-diff, 713B) downloaddiff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sampleindex f3e3de0..353de2e 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 # provide crash safety by flushing disk writes+ # (disabling this can lead to unrecoverable+ # data corruption)
#synchronous_commit = on # synchronization level;
# off, local, remote_write, remote_apply, or on
#wal_sync_method = fsync # the default is the first option
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-hackers@postgresql.org
Cc: ams@2ndQuadrant.com, magnus@hagander.net, craig@2ndquadrant.com, petr@2ndquadrant.com
Subject: Re: 9.6 and fsync=off
In-Reply-To: <20160427105756.GB4861@toroid.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox