Re: BUG #3866: Segfault during table update when using convert_from()

Поиск
Список
Период
Сортировка
От Andrew Gilligan
Тема Re: BUG #3866: Segfault during table update when using convert_from()
Дата
Msg-id CC705AD1-17A3-4013-A68E-E3EED572DDA6@tcpd.net
обсуждение исходный текст
Ответ на Re: BUG #3866: Segfault during table update when using convert_from()  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
On 9 Jan 2008, at 23:45, Tom Lane wrote:

> "Andrew Gilligan" <andy@tcpd.net> writes:
>> It seems there exists a bug in the way character set conversion
>> is handled in some circumstances.
>
> Seems to be the bogus pfree() in pg_convert_from() that's causing
> the problem :-(.  Take that out and you should be OK.

That's exactly it, thanks...  Everything seems fine now.

The fix is trivial, so not sure if a patch is even warranted, but
I've attached the changes just in case.

Best regards,
-Andy




Вложения

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: BUG #3866: Segfault during table update when using convert_from()
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: BUG #3860: xpath crashes backend when is querying xmlagg result