Re: dup(0) failed after 3195 successes: Bad file descriptor

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: dup(0) failed after 3195 successes: Bad file descriptor
Дата
Msg-id 20040629214235.GC26381@svana.org
обсуждение исходный текст
Ответ на Re: dup(0) failed after 3195 successes: Bad file descriptor  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: dup(0) failed after 3195 successes: Bad file descriptor  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
On Tue, Jun 29, 2004 at 10:10:18AM -0400, Tom Lane wrote:
> CSN <cool_screen_name90001@yahoo.com> writes:
> >  WARNING: dup(0) failed after 3195 successes: Bad file
> >  descriptor
>
> Hmm.  What system is this on?  What errno code corresponds to
> "Bad file descriptor"?

That would be EBADF I think. However, my linux manpage indicates it's
not a possible return from dup, only from dup2. Very odd.

--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.

Вложения

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Connection gets into state where all queries fail
Следующее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: Connection gets into state where all queries fail