Re: [pgsql-hackers-win32] win32 performance - fsync question

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [pgsql-hackers-win32] win32 performance - fsync question
Дата
Msg-id 26678.1111088179@sss.pgh.pa.us
обсуждение исходный текст
Ответы Re: [pgsql-hackers-win32] win32 performance - fsync question
Список pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Tom Lane wrote:
>> ISTM Windows' idea of fsync is quite different from Unix's and therefore
>> we should name the wal_sync_method that invokes it something different
>> than fsync.  "write_through" or some such?

> Ah, I remember now.  On Win32 our fsync is:
>     #define fsync(a)    _commit(a)
> I am wondering if we should call the new mode open_commit or
> open_writethrough.  Our typical rule is to tie it to the API call, which
> should suggest open_commit.

fsync_writethrough, perhaps.  I don't see any "open" about it.

            regards, tom lane

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Windows, gettext/libintl, pg_sprintf and friends
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [pgsql-hackers-win32] win32 performance - fsync question