Re: [GENERAL] db sever seems to be dropping connections

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [GENERAL] db sever seems to be dropping connections
Дата
Msg-id 17644.1143048063@sss.pgh.pa.us
обсуждение исходный текст
Список pgsql-interfaces
"Rushabh Doshi" <rdoshi@vmware.com> writes:
> DBI handle: DBI::db=HASH(0x9480bdc)  # this is the stale handle
> DBD::Pg::db disconnect failed: rollback failed at *** line 241.
> result of disconnect:
> disconnect failed for DBI::db=HASH(0x9480bdc):  DBD::Pg::db disconnect
> failed: rollback failed at *** line 241.

This seems like fairly stupid programming within DBD::Pg --- there's no
reason for it to be issuing an explicit rollback command at disconnect,
as the backend will certainly do that itself on seeing the connection
drop.  Possibly you could get the DBD::Pg developers to change that,
so that a disconnect would be more robust in the face of network failure
(and a tad faster too).

            regards, tom lane

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

Предыдущее
От: Mark Morgan Lloyd
Дата:
Сообщение: Re: using libpq with the free Borland compiler or DEV-cpp
Следующее
От: Keary Suska
Дата:
Сообщение: Libpq and PGConn