Re: BUG #3999: Panic with "invalid string enlargement request size" after a strange request from JDBC

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #3999: Panic with "invalid string enlargement request size" after a strange request from JDBC
Дата
Msg-id 2154.1204299737@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #3999: Panic with "invalid string enlargement request size" after a strange request from JDBC  ("Thomas Poindessous" <t.poindessous@seiitra.com>)
Список pgsql-bugs
"Thomas Poindessous" <t.poindessous@seiitra.com> writes:
> we have some PANIC after a weird error :

> ERROR:  invalid string enlargement request size 1358954492
> WARNING:  AbortTransaction and not in in-progress state
> ERROR:  could not send data to client: Broken pipe
> PANIC:  error during error recovery, giving up

This is not tremendously surprising given that the client presumably
disconnected right after sending the malformed message.  I believe the
problem with the write failure becoming a PANIC is fixed as of 8.0.

> We know that we have a very old version of 7.4, we will migrating to 8.3
> RSN, but we would like to know if it's a known bug of the jdbc connector for
> example, or if we have a problem with our application's code.

It sure looks like a JDBC bug to me, but you'd have to ask on pgsql-jdbc
for an authoritative answer.  Not sure if any of those guys read -bugs.

            regards, tom lane

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

Предыдущее
От: "Stephen Clark"
Дата:
Сообщение: BUG #4001: ecpg produces code that won't compile
Следующее
От: Tom Lane
Дата:
Сообщение: Re: bug or not bug, xmlvalidate(xml, text) can read and show one line from file