>> For Win32, in order to emulate fsync() we will need to call >> FlushFileBuffers(): The supplied link does not work. FlushFileBuffers() is for flushing files opened with CreateFile() etc.
For files opened with fopen(), call fflush(). For files opened with _open(), call _commit(). Likekly the win32 port code, which I have yet to inspect, will use the second version. Merlin ---------------------------(end of broadcast)--------------------------- TIP 6: Have you searched our list archives? http://archives.postgresql.org