Connection Broken with Custom Dicts for TSearch2 - Mailing list pgsql-hackers

From Rodrigo Hjort
Subject Connection Broken with Custom Dicts for TSearch2
Date
Msg-id 731083980606021134u5b74b5ecta7cf2f8868b2d715@mail.gmail.com
Whole thread Raw
Responses Re: Connection Broken with Custom Dicts for TSearch2  (Oleg Bartunov <oleg@sai.msu.su>)
Re: Connection Broken with Custom Dicts for TSearch2  (Teodor Sigaev <teodor@sigaev.ru>)
List pgsql-hackers
Sorry, but I thought it that was the most appropriate list for the issue.<br /><br />I was following these
instructions:<br/><a
href="http://www.sai.msu.su/~megera/postgres/gist/tsearch/V2/docs/custom-dict.html">http://www.sai.msu.su/~megera/postgres/gist/tsearch/V2/docs/custom-dict.html
</a><br/><br />And what happens is that the function works just once. Perhaps a malloc/free issue?<br /><br /><br />$
psqlfuzzy<br /><br />fuzzy=# select to_tsvector('the quick brown fox jumped over the lazy dog 100');<br
/>                           to_tsvector <br />--------------------------------------------------------------------<br
/> 'dog':9'fox':4 'jump':5 'lazi':8 'brown':3 'quick':2 'hundred':10<br />(1 registro)<br /><br />fuzzy=# select
to_tsvector('thequick brown fox jumped over the lazy dog 100'); <br />server closed the connection unexpectedly<br
/>       This probably means the server terminated abnormally<br />        before or while processing the request.<br
/>Aconexão com servidor foi perdida. Tentando reiniciar: Falhou. <br />!> \q<br clear="all" /><br /><br
/>Regards,<br/><br />Rodrigo Hjort<br /><a href="http://icewall.org/~hjort">http://icewall.org/~hjort</a><br /><br /> 

pgsql-hackers by date:

Previous
From: "Larry Rosenman"
Date:
Subject: Re: Going for 'all green' buildfarm results
Next
From: "Jonah H. Harris"
Date:
Subject: Modularizing XLOG