Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
Lists: pgsql-generalpgsql-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>
> 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


pgsql-hackers-win32 by date

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

pgsql-general by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group