Re: BUG #5127: AbstractJdbc2Connection#doRollback should throws Exception if connection is closed

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: BUG #5127: AbstractJdbc2Connection#doRollback should throws Exception if connection is closed
Дата
Msg-id 4ADD809F020000250002BB8D@gw.wicourts.gov
обсуждение исходный текст
Ответ на BUG #5127: AbstractJdbc2Connection#doRollback should throws Exception if connection is closed  ("" <taktos@gmail.com>)
Ответы Re: BUG #5127: AbstractJdbc2Connection#doRollback should throws Exception if connection is closed  (takiguchi <taktos@gmail.com>)
Список pgsql-bugs
<taktos@gmail.com> wrote:

> If PostgreSQL server is restarted, old Connection pooled in
> Application server's ConnectionPool cannot connect to DB.
> That's OK.
> But, I can call rollback() on old Connection and it throws no
> exception.

Hmmm....   What problem are you having?  The transaction would have
been rolled back when the server was restarted (or if the connection
was broken).  What benefit would you get from the exception you
suggest?

-Kevin

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

Предыдущее
От: ""
Дата:
Сообщение: BUG #5127: AbstractJdbc2Connection#doRollback should throws Exception if connection is closed
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Re: BUG #5065: pg_ctl start fails as administrator, with "could not locate matching postgres executable"