Re: Tsearch + polish ispell + polish locale - Mailing list pgsql-hackers

From Teodor Sigaev
Subject Re: Tsearch + polish ispell + polish locale
Date
Msg-id 456476C8.8080206@sigaev.ru
Whole thread Raw
In response to Re: Tsearch + polish ispell + polish locale  (<arkadiusz.staron@dreamlab.pl>)
Responses Re: Tsearch + polish ispell + polish locale
List pgsql-hackers
>> Does lower()/upper() functions works well in postgres?
> 
> Until regis error it works fine... then it gets broken.
> As the matter of fact I wasn't able to determine who breaks it, is it postgres or tsearch ...
> 
> Any idea how can I check it ?

It seems to me, it's a memory corruption somewhere.

try to compile postgres(and tsearch2 too) with
CFLAGS=-O0 ./configure  --enable-cassert --enable-debug
and repeats the tests

If you are using recent  versions of Linux libc (later than 5.4.23) and GNU
libc (2.x) then it will be useful to set MALLOC_CHECK_ enviroment variable to 2 
before starting postgres (man 3 malloc).

-- 
Teodor Sigaev                                   E-mail: teodor@sigaev.ru
  WWW: http://www.sigaev.ru/
 


pgsql-hackers by date:

Previous
From: Martijn van Oosterhout
Date:
Subject: Re: bad plan with custom data types
Next
From: Greg Mitchell
Date:
Subject: Re: bad plan with custom data types