Re: Connection pool deadlock

From: Aaron Mulder <ammulder(at)alumni(dot)princeton(dot)edu>
To: "pgsql-jdbc(at)postgresql(dot)org" <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Connection pool deadlock
Date: 2003-03-06 16:00:18
Message-ID: Pine.LNX.4.44.0303061058160.28475-100000@www.princetongames.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

On 28 Feb 2003, Dave Cramer wrote:
> 2) don't block on your connection pool, instead return without a
> connection and tell the user that you can't service the request at this
> time.

I think our pooling implementation blocks when it runs out of
connections, though I'm not sure if he's using ours or not. We could
change that relatively easily to offer the option of throwing a
SQLException instead of blocking, if that would be valuable. But of
course we can't fix it to allow his code to use more connections than
there actually are present in the pool.

Aaron

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Aaron Mulder 2003-03-06 17:14:44 Re: Connection pool deadlock
Previous Message Aaron Mulder 2003-03-06 15:55:21 Re: Postgres PooledConnection...