Re: new compiler warnings

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: new compiler warnings
Дата
Msg-id 4E9D3F4D0200002500042154@gw.wicourts.gov
обсуждение исходный текст
Ответ на Re: new compiler warnings  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: new compiler warnings
Список pgsql-hackers
Tom Lane <tgl@sss.pgh.pa.us> wrote:
> I think that what Kevin was on about was something else entirely,
> namely whether we need to retry writes to disk.
I would phrase it that we need to *continue* a write to disk if the
OS chooses to write a portion of it and return to the caller with
the number actually written.  If the first write, or any later
write, actually gets an error or fails to make progress, *then* we
should consider the attempt to be done.  I don't understand the
point of not coding to the API.
-Kevin


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: new compiler warnings
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: pg_ctl restart - behaviour based on wrong instance