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

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: CSN <cool_screen_name90001(at)yahoo(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: dup(0) failed after 3195 successes: Bad file descriptor
Date: 2004-06-29 21:42:36
Message-ID: 20040629214235.GC26381@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers-win32

On Tue, Jun 29, 2004 at 10:10:18AM -0400, Tom Lane wrote:
> CSN <cool_screen_name90001(at)yahoo(dot)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(at)svana(dot)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.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Stan Y 2004-06-29 22:09:19 What is the prevalent naming convention in RDBMS?
Previous Message Martijn van Oosterhout 2004-06-29 21:37:48 Re: Connection gets into state where all queries fail

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Darko Prenosil 2004-06-29 22:43:54 build error
Previous Message Merlin Moncure 2004-06-29 17:39:32 Re: backslash commands under win32