Re: Bug #800: Bad free in function PQclear

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Bug #800: Bad free in function PQclear
Дата
Msg-id 17289.1034949728@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Bug #800: Bad free in function PQclear  (pgsql-bugs@postgresql.org)
Список pgsql-bugs
pgsql-bugs@postgresql.org writes:
> I send a query with bad function.

> The server answer me an error with text : ERROR:  Function 'octet_length(unknown)' does not exist
>     Unable to identify a function that satisfies the given argument types
>     You may need to add explicit typecasts.

> Then,  i call PQclear to free result context, the core is dump with memory fault.

Are you sure this isn't your own bug --- like calling PQclear twice on
the same PGresult in your error-recovery code path?

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Pg 7.2.3 int8 value out of range
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Pg 7.2.3 int8 value out of range