Re: WSL (windows subsystem on linux) users will need to turn fsync off as of 11.2

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: WSL (windows subsystem on linux) users will need to turn fsync off as of 11.2
Дата
Msg-id 18784.1550250790@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: WSL (windows subsystem on linux) users will need to turn fsyncoff as of 11.2  (Andres Freund <andres@anarazel.de>)
Ответы Re: WSL (windows subsystem on linux) users will need to turn fsync off as of 11.2  (Andres Freund <andres@anarazel.de>)
Список pgsql-general
Andres Freund <andres@anarazel.de> writes:
> I suspect that's because WSL has an empty implementation of
> sync_file_range(), i.e. it unconditionally returns ENOSYS. But as
> configure detects it, we still emit calls for it.  I guess we ought to
> except ENOSYS for the cases where we do panic-on-fsync-failure?

I'm of the opinion that we shouldn't be panicking for sync_file_range
failure, period.

            regards, tom lane


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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: WSL (windows subsystem on linux) users will need to turn fsyncoff as of 11.2
Следующее
От: Alan Nilsson
Дата:
Сообщение: Re: loading plpython error