Re: Connection Broken with Custom Dicts for TSearch2

From: Oleg Bartunov <oleg(at)sai(dot)msu(dot)su>
To: Rodrigo Hjort <rodrigo(dot)hjort(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Connection Broken with Custom Dicts for TSearch2
Date: 2006-06-02 18:50:08
Message-ID: Pine.GSO.4.63.0606022249140.24663@ra.sai.msu.su
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Rodrigo,

you gave us too little information. Did you use your own dictionary ?
What's your configuration, version, etc.

Oleg
On Fri, 2 Jun 2006, Rodrigo Hjort wrote:

> 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
>

Regards,
Oleg
_____________________________________________________________
Oleg Bartunov, Research Scientist, Head of AstroNet (www.astronet.ru)
Sternberg Astronomical Institute, Moscow University, Russia
Internet: oleg(at)sai(dot)msu(dot)su, http://www.sai.msu.su/~megera/
phone: +007(495)939-16-83, +007(495)939-23-83

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Josh Berkus 2006-06-02 19:23:34 Re: More thoughts about planner's cost estimates
Previous Message Jonah H. Harris 2006-06-02 18:35:17 Modularizing XLOG