Sorry, but I thought it that was the most appropriate list for the issue.
I was following these instructions:
http://www.sai.msu.su/~megera/postgres/gist/tsearch/V2/docs/custom-dict.html
And what happens is that the function works just once. Perhaps a malloc/free issue?
$ psql fuzzy
fuzzy=# select to_tsvector('the quick brown fox jumped over the lazy dog 100');
to_tsvector
--------------------------------------------------------------------
'dog':9 'fox':4 'jump':5 'lazi':8 'brown':3 'quick':2 'hundred':10
(1 registro)
fuzzy=# select to_tsvector('the quick brown fox jumped over the lazy dog 100');
server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
A conexão com servidor foi perdida. Tentando reiniciar: Falhou.
!> \q
Regards,
Rodrigo Hjort
http://icewall.org/~hjort
- [HACKERS] Connection Broken with Custom Dicts for TSearch2 Rodrigo Hjort
- Re: [HACKERS] Connection Broken with Custom Dicts for T... Oleg Bartunov
- Re: [HACKERS] Connection Broken with Custom Dicts f... Rodrigo Hjort
- Re: [HACKERS] Connection Broken with Custom Dic... Oleg Bartunov
- Re: [HACKERS] Connection Broken with Custom Dic... Oleg Bartunov
- Re: [HACKERS] Connection Broken with Custom Dicts for T... Teodor Sigaev
- Re: [HACKERS] Connection Broken with Custom Dicts f... Teodor Sigaev
- Re: [HACKERS] Connection Broken with Custom Dic... Oleg Bartunov
- Re: [HACKERS] Connection Broken with Custom... John Jawed
- Re: [HACKERS] Connection Broken with C... Teodor Sigaev
- Re: [HACKERS] Connection Broken wi... Rodrigo Hjort