Re: Run-time posix_fallocate failures

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Run-time posix_fallocate failures
Дата
Msg-id 22737.1373135039@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Run-time posix_fallocate failures  (Jeff Davis <pgsql@j-davis.com>)
Список pgsql-hackers
Jeff Davis <pgsql@j-davis.com> writes:
> On Sat, 2013-07-06 at 10:33 -0400, Tom Lane wrote:
>> I think you'd better rejigger that patch so that it falls through to the
>> old implementation if posix_fallocate() fails.

> Do you mean "fails at all" or "fails with EINVAL"?

I'd be inclined to ignore the specific error code and just do it the
hard way for any failure.  Less code, and I see no particular advantage
to being pickier than that.
        regards, tom lane



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

Предыдущее
От: Jeff Janes
Дата:
Сообщение: Re: planner not choosing fastest estimated plan
Следующее
От: Dimitri Fontaine
Дата:
Сообщение: Re: in-catalog Extension Scripts and Control parameters (templates?)