Re: Connection pool deadlock

Поиск
Список
Период
Сортировка
От Aaron Mulder
Тема Re: Connection pool deadlock
Дата
Msg-id Pine.LNX.4.44.0303061058160.28475-100000@www.princetongames.org
обсуждение исходный текст
Ответ на Re: Connection pool deadlock  (Dave Cramer <Dave@micro-automation.net>)
Список 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


В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Aaron Mulder
Дата:
Сообщение: Re: Postgres PooledConnection...
Следующее
От: Dirk Bromberg
Дата:
Сообщение: Re: Postgres PooledConnection...