Re: fd.c: flush data problems on osx

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: fd.c: flush data problems on osx
Дата
Msg-id 27003.1460582461@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: fd.c: flush data problems on osx  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: fd.c: flush data problems on osx  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
I wrote:
> Michael Paquier <michael.paquier@gmail.com> writes:
>> A similar change seems to be needed in initdb.c's pre_sync_fname.

> Hmm, do we need to move this logic into src/common?

I concluded that sharing the code would be more trouble than it's worth,
because initdb.c's version of this is in fact not broken: it was never
taught about mmap, and it doesn't need to be IMO, because it's not that
performance-critical.

I fixed the other things I complained about and pushed this.  Please
check to see that the committed patch resolves your original problem.
        regards, tom lane



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

Предыдущее
От: Kevin Grittner
Дата:
Сообщение: Re: Re: [COMMITTERS] pgsql: Avoid extra locks in GetSnapshotData if old_snapshot_threshold <
Следующее
От: Andres Freund
Дата:
Сообщение: Re: Re: [COMMITTERS] pgsql: Avoid extra locks in GetSnapshotData if old_snapshot_threshold <