--- Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> CSN <cool_screen_name90001(at)yahoo(dot)com> writes:
> > WARNING: dup(0) failed after 3195 successes: Bad
> > descriptor
> Hmm. What system is this on? What errno code
> corresponds to
> "Bad file descriptor"?
> This is coming from
> thisfd = dup(0);
> if (thisfd < 0)
> /* Expect EMFILE or ENFILE, else it's
> fishy */
> if (errno != EMFILE && errno != ENFILE)
> elog(WARNING, "dup(0) failed after
> %d successes: %m", used);
> I would suppose there is another EXXX code we have
> to allow to pass
> without comment, but I don't know from your report
> what it is.
It's on windows xp home edition. I just upgraded
cygwin and postgresql to 7.4.3 - the warning didn't
appear in the log previously.
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
In response to
pgsql-hackers-win32 by date
|Next:||From: Merlin Moncure||Date: 2004-06-29 17:39:32|
|Subject: Re: backslash commands under win32|
|Previous:||From: Tom Lane||Date: 2004-06-29 14:10:18|
|Subject: Re: dup(0) failed after 3195 successes: Bad file descriptor |
pgsql-general by date
|Next:||From: Joe Maldonado||Date: 2004-06-29 18:01:51|
|Subject: query failing with out of memory error message.|
|Previous:||From: Scott Marlowe||Date: 2004-06-29 17:13:42|
|Subject: Re: A few beginner's questions concerning concurrency|