Re: tsearch2 error msg
| От | Teodor Sigaev |
|---|---|
| Тема | Re: tsearch2 error msg |
| Дата | |
| Msg-id | 4522774F.2070609@sigaev.ru обсуждение исходный текст |
| Ответ на | tsearch2 error msg ("Magnus Hagander" <mha@sollentuna.net>) |
| Ответы |
Re: tsearch2 error msg
|
| Список | pgsql-hackers |
> Might want to enhance that message to include the information that it's
> parsing the tsquery that's failing? I originally had it as part of a
> much larger query, and it took me a while to remember that it's tsearch
> that spits out that very generic error message.
It possible, but not for 8.2 :(
BTW, try
# select plainto_tsquery('foo bar'); plainto_tsquery
----------------- 'foo' & 'bar'
(1 row)
It parses plain text and makes tsquery. Function exists only in 8.2 - some later
we add docs about changes in tsearch2.
--
Teodor Sigaev E-mail: teodor@sigaev.ru
WWW: http://www.sigaev.ru/
В списке pgsql-hackers по дате отправления: