Tsearch1 problem

Поиск
Список
Период
Сортировка
Искать
От
Rajesh Kumar Mallah
Тема
Tsearch1 problem
Дата
Msg-id
403B43A2.9040600@trade-india.com
Список
Дерево обсуждения
Tsearch1 problem Rajesh Kumar Mallah <mallah@trade-india.com>
Re: Tsearch1 problem Oleg Bartunov <oleg@sai.msu.su>
Re: Tsearch1 problem Sam Barnett-Cormack <s.barnett-cormack@lancaster.ac.uk>
Re: Tsearch1 problem Oleg Bartunov <oleg@sai.msu.su>
Re: Tsearch1 problem Tom Lane <tgl@sss.pgh.pa.us>
Re: Tsearch1 problem Oleg Bartunov <oleg@sai.msu.su>

Greetings,

The function txt2txtidx of tsearch1 crashes the backend
in my installation when it is called with a text where '-'  is
immediately followed by a number.

Does any one has any solution for it?

Regds
Mallah.



tradein_clients=# SELECT version();
+-----------------------------------------------------------+
|                          version                          |
+-----------------------------------------------------------+
| PostgreSQL 7.3 on i686-pc-linux-gnu, compiled by GCC 2.96 |
+-----------------------------------------------------------+
(1 row)

Time: 0.61 ms
tradein_clients=# SELECT txt2txtidx('Hello');
+------------+
| txt2txtidx |
+------------+
| 'hello'    |
+------------+
(1 row)

Time: 0.72 ms
tradein_clients=# SELECT txt2txtidx('Hello A');
+------------+
| txt2txtidx |
+------------+
| 'hello'    |
+------------+
(1 row)

Time: 0.72 ms
tradein_clients=# SELECT txt2txtidx('Hello A-');
+------------+
| txt2txtidx |
+------------+
| 'hello'    |
+------------+
(1 row)

Time: 0.64 ms
tradein_clients=# SELECT txt2txtidx('Hello A-A');
+---------------+
|  txt2txtidx   |
+---------------+
| 'a-a' 'hello' |
+---------------+
(1 row)

Time: 0.92 ms
tradein_clients=# SELECT txt2txtidx('Hello A-1');
server closed the connection unexpectedly
        This probably means the server terminated abnormally
        before or while processing the request.
The connection to the server was lost. Attempting reset: Failed.
!#
В списке pgsql-admin по дате отправления
От: Louie Kwan
Дата:
Сообщение: "SELECT ANY TABLE" !!
От: Oleg Bartunov
Дата:
Сообщение: Re: Tsearch1 problem
FAQ