Re: fd.c: flush data problems on osx

Поиск
Список
Период
Сортировка
От Stas Kelvich
Тема Re: fd.c: flush data problems on osx
Дата
Msg-id FF9F0CF0-B2C9-46B4-8338-4A1593A55146@postgrespro.ru
обсуждение исходный текст
Ответ на Re: fd.c: flush data problems on osx  (Andres Freund <andres@anarazel.de>)
Ответы Re: fd.c: flush data problems on osx  (Noah Misch <noah@leadboat.com>)
Re: fd.c: flush data problems on osx  (Michael Paquier <michael.paquier@gmail.com>)
Список pgsql-hackers
On 21 Mar 2016, at 14:53, Andres Freund <andres@anarazel.de> wrote:
> Hm. I think we should rather just skip calling pg_flush_data in the
> directory case, that very likely isn't beneficial on any OS.

Seems reasonable, changed.

> I think we still need to fix the mmap() implementation to support the
> offset = 0, nbytes = 0 case (via fseek(SEEK_END).

It is already in this diff. I’ve added this few messages ago.


---
Stas Kelvich
Postgres Professional: http://www.postgrespro.com
Russian Postgres Company


Вложения

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

Предыдущее
От: Amit Kapila
Дата:
Сообщение: Re: Relation extension scalability
Следующее
От: Petr Jelinek
Дата:
Сообщение: Re: Applying logical replication changes by more than one process