sync vs. fsync question

From: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
To: Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: sync vs. fsync question
Date: 2004-06-01 01:45:34
Message-ID: 40BBDFBE.7000103@familyhealth.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

I had this question posed to me on IRC and I didn't know the answer.

If all that is needed to ensure integrity is that the WAL is fsynced,
what is wrong with just going:

wal_sync_method = fsync
fsync = false

??

Chris

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2004-06-01 01:48:59 Re: sync vs. fsync question
Previous Message Tom Lane 2004-06-01 01:35:38 Re: Can't detect time zone