Re: Re: ZeroFill(.../pg_xlog/xlogtemp.20148) failed: No such file or directory

Поиск
Список
Период
Сортировка
От Chris Jones
Тема Re: Re: ZeroFill(.../pg_xlog/xlogtemp.20148) failed: No such file or directory
Дата
Msg-id 20010523115415.G437@mt.sri.com
обсуждение исходный текст
Ответ на Re: Re: ZeroFill(.../pg_xlog/xlogtemp.20148) failed: No such file or directory  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Re: ZeroFill(.../pg_xlog/xlogtemp.20148) failed: No such file or directory
Список pgsql-general
On Wed, May 23, 2001 at 01:47:37PM -0400, Tom Lane wrote:

> Chris Jones <chris@mt.sri.com> writes:
> > No, it could be any number of other things.  The first that comes to
> > mind is EINTR.  How about something closer to:
>
> Writes to disk files don't suffer EINTR as far as I've ever heard
> (if they do, there are an awful lot of broken programs out there).

Yeah, my mistake.

> More to the point, a kernel that aborted a write because of an interrupt
> *and failed to set errno* would certainly be broken.  The question is
> what to assume when we see that the write did not change errno.

If write didn't return -1, it shouldn't have set errno.  A short write
count isn't an error condition.

Chris

--
chris@mt.sri.com -----------------------------------------------------
Chris Jones                                    SRI International, Inc.
                                                           www.sri.com

Вложения

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

Предыдущее
От: "Mihai Gheorghiu"
Дата:
Сообщение: Connection from Win machine
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Re: ZeroFill(.../pg_xlog/xlogtemp.20148) failed: No such file or directory