> I am unclear as to the reason why there is a test for
> HAVE_FSYNC_WRITETHROUGH_ONLY in pg_fsync(). Perhaps that is also
> leftover from a previous vision of how this all works? Or does an
> fsync() call actually fail on Windows?
No, fsync responds fine. It just don't actually sync to disk.
--
-- Josh Berkus
PostgreSQL Experts Inc.
http://www.pgexperts.com