Re: 8.2.3: Server crashes on Windows using Eclipse/Junit

From: "Magnus Hagander" <magnus(at)hagander(dot)net>
To: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
Cc: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Laurent Duperval" <lduperval(at)yahoo(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: 8.2.3: Server crashes on Windows using Eclipse/Junit
Date: 2007-10-20 06:23:48
Message-ID: 200710200823480000@328423241
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> > > Maybe we should put an #ifdef WIN32 into guc.c to limit
> > > max_connections to something we know the platform can stand? It'd
> > > be more comfortable if we understood exactly where the limit was,
> > > but I think I'd rather have an "I'm sorry Dave, I can't do that"
> > > than random-seeming crashes.
> >
> > Yeayh, that's probably a good idea - except we never managed to
> > figure out where the limit is. It appears to vary pretty wildly
> > between different machines, for reasons we don't really know why
> > (total RAM has some effect on it, but that's not the only one, for
> > example)
>
> How about we just emit a warning..
>
> WARNING: Connections above 250 on Windows platforms may have
> unpredictable results.
>

That's probably a better idea. I'll go look at that unless people feel we should just stick it in docd/faq?

/Magnus

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Rainer Bauer 2007-10-20 11:22:56 Re: 8.2.3: Server crashes on Windows using Eclipse/Junit
Previous Message Tom Lane 2007-10-20 03:25:21 Re: Connection & logging Problems