Re: initdb and fsync

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: initdb and fsync
Дата
Msg-id 4F2414ED.40004@dunslane.net
обсуждение исходный текст
Ответ на Re: initdb and fsync  (Noah Misch <noah@leadboat.com>)
Ответы Re: initdb and fsync  (Jeff Davis <pgsql@j-davis.com>)
Re: initdb and fsync  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: initdb and fsync  (Jeff Janes <jeff.janes@gmail.com>)
Список pgsql-hackers

On 01/27/2012 11:52 PM, Noah Misch wrote:
>> Is a platform-independent fsync be available at initdb time?
> Not sure.
>

It's a macro on Windows that calls _commit(fd), so it should be portable 
enough.

I'm curious what problem we're actually solving here, though. I've run 
the buildfarm countless thousands of times on different VMs, and five of 
my seven current animals run in VMs, and I don't think I've ever seen a 
failure ascribable to inadequately synced files from initdb.

cheers

andrew


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Inlining comparators as a performance optimisation
Следующее
От: Jeff Davis
Дата:
Сообщение: Re: initdb and fsync