Re: Win32 and fsync()

Поиск
Список
Период
Сортировка
От Merlin Moncure
Тема Re: Win32 and fsync()
Дата
Msg-id 303E00EBDD07B943924382E153890E5434A907@cuthbert.rcsinc.local
обсуждение исходный текст
Ответ на Win32 and fsync()  ("Dann Corbit" <DCorbit@connx.com>)
Список pgsql-hackers
>> 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




В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Andrew Dunstan"
Дата:
Сообщение: Re: Win32 and fsync()
Следующее
От: Tom Lane
Дата:
Сообщение: Re: POSIX regex performance bug in 7.3 Vs. 7.2