Re: tsearch2 error msg

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: tsearch2 error msg
Дата
Msg-id 6BCB9D8A16AC4241919521715F4D8BCEA3577B@algol.sollentuna.se
обсуждение исходный текст
Ответ на Re: tsearch2 error msg  (Teodor Sigaev <teodor@sigaev.ru>)
Ответы Re: tsearch2 error msg  (Oleg Bartunov <oleg@sai.msu.su>)
Список 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 :(

Ok :-( Might want to put on TIDI?


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

Ah, just what i've been looking for. The tsearch2 enhancements in 8.2
just get better and better :-)
(And I'm working on 8.2beta, so it's not a problem)

//Magnus



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Teodor Sigaev
Дата:
Сообщение: Re: tsearch2 error msg
Следующее
От: Tom Lane
Дата:
Сообщение: Re: PG qsort vs. Solaris