Yes i found this bug earlier.
There is a patch for it in the mail archives.
Magnus
Argo Priivits <listdb@hot.ee> wrote:
> Hi,
>
> I have a problem with contrib/tsearch module.
>
> Simple select txt2txtidx('2-3') causes psql to crash with error:
>
> server closed the connection unexpectedly
> This probably means the server terminated abnormally
> before or while processing the request.
>
>
> As I found out, this happens allways when in txt2txtidx input
> parameter occurs string with pattern: "number hyphen" or "hyphen
> number" !!!
>
> pg 7.3
> redhat 7.3
>
> Thanks, any idea ?
>