Apple disabled fsync??

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-hackers(at)postgreSQL(dot)org
Subject: Apple disabled fsync??
Date: 2005-02-17 04:48:50
Message-ID: 2878.1108615730@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Found on a certain other DBMS' mailing list:

* InnoDB: When MySQL/InnoDB is compiled on Mac OS X 10.2 or earlier,
detect the operating system version at run time and use the
`fcntl()' file flush method on Mac OS X versions 10.3 and later.
Apple had disabled `fsync()' in Mac OS X for internal disk drives,
which caused corruption at power outages.

If that claim is true then we are vulnerable to data corruption on power
failure on OS X. Comments, test cases?

regards, tom lane

Browse pgsql-hackers by date

  From Date Subject
Next Message Greg Stark 2005-02-17 05:35:57 Re: Help me recovering data
Previous Message Tom Lane 2005-02-17 04:36:45 Re: Help me recovering data