Re: [HACKERS] TODO item

Peter Eisentraut <e99re41@docs.uu.se>

From: Peter Eisentraut <e99re41@DoCS.UU.SE>
To: Jan Wieck <wieck@debis.com>
Cc: PostgreSQL HACKERS <pgsql-hackers@postgreSQL.org>
Date: 2000-02-08T12:57:15Z
Lists: pgsql-hackers
On Tue, 8 Feb 2000, Jan Wieck wrote:

>     And if this storage manager would work with  some  amount  of
>     preallocated  blocks,  it  would  be  totally  happy  with  a
>     fdatasync()  instead  of  a  fsync().   Some  per  tablespace
>     configurable  options  like  initial  number  of blocks, next
>     extent size and percentage increase would be fine.

On Linux, fdatasync() does exactly the same as fsync(). On FreeBSD (3.4),
fdatasync() isn't even documented and I can't find it in any of the
include files either. What I'm saying is that for the vast majority of our
users this would most likely buy exactly nothing. I just wanted to point
that out, not dismiss the idea.


-- 
Peter Eisentraut                  Sernanders vaeg 10:115
peter_e@gmx.net                   75262 Uppsala
http://yi.org/peter-e/            Sweden