Re: 9.6 and fsync=off - Mailing list pgsql-hackers

From Craig Ringer
Subject Re: 9.6 and fsync=off
Date
Msg-id CAMsr+YEy9zj2Nb_n8OFMAf2HpX-RVpb12sWYD2uakPy0Um9kag@mail.gmail.com
Whole thread Raw
In response to Re: 9.6 and fsync=off  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: 9.6 and fsync=off  (Robert Haas <robertmhaas@gmail.com>)
Re: 9.6 and fsync=off  (Simon Riggs <simon@2ndQuadrant.com>)
List pgsql-hackers
On 27 April 2016 at 21:44, Tom Lane <tgl@sss.pgh.pa.us> wrote:
Petr Jelinek <petr@2ndquadrant.com> writes:
> +1 (Abhijit's wording with data loss changed to data corruption)

I'd suggest something like

#fsync = on                             # flush data to disk for crash safety
                                        # (turning this off can cause
                                        # unrecoverable data corruption!)


Looks good.

The docs on fsync are already good, it's just a matter of making people think twice and actually look at them. 

--
 Craig Ringer                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services

pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: pgindent
Next
From: Tom Lane
Date:
Subject: Re: Support for N synchronous standby servers - take 2