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