Re: AW: AW: AW: WAL does not recover gracefully from ou t-of -dis k-sp ace

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Denis Perchine <dyp@perchine.com>
Cc: pgsql-hackers@postgresql.org
Date: 2001-03-10T16:12:08Z
Lists: pgsql-hackers
Denis Perchine <dyp@perchine.com> writes:
> On Saturday 10 March 2001 08:41, Tom Lane wrote:
>> More numbers, these from a Powerbook G3 laptop running Linux 2.2:

> Eeegghhh. Sorry... But where did you get O_DSYNC on Linux?????

> bits/fcntl.h: # define O_DSYNC      O_SYNC

Hm, must be.  Okay, so those two sets of numbers should be taken as
fsync() and O_SYNC respectively.  Still the conclusion seems pretty
clear: the open() options are way more efficient than calling fsync()
separately.

			regards, tom lane