Index: src/include/port/win32.h =================================================================== RCS file: /cvsroot/pgsql/src/include/port/win32.h,v retrieving revision 1.45 diff -c -c -r1.45 win32.h *** src/include/port/win32.h 20 May 2005 14:53:26 -0000 1.45 --- src/include/port/win32.h 16 Jun 2005 17:52:18 -0000 *************** *** 19,24 **** --- 19,29 ---- #define HAVE_FSYNC_WRITETHROUGH #define HAVE_FSYNC_WRITETHROUGH_ONLY #define ftruncate(a,b) chsize(a,b) + /* + * Even though we don't support 'fsync' as a wal_sync_method, + * we do fsync() a few other places where _commit() is just fine. + */ + #define fsync(fd) _commit(fd) #define USES_WINSOCK