Re: tsvector extraction patch

Поиск
Список
Период
Сортировка
От Oleg Bartunov
Тема Re: tsvector extraction patch
Дата
Msg-id Pine.LNX.4.64.0907021852270.17118@sn.sai.msu.ru
обсуждение исходный текст
Ответ на tsvector extraction patch  (Hans-Juergen Schoenig -- PostgreSQL <postgres@cybertec.at>)
Список pgsql-hackers
I have simple solution 
http://www.sai.msu.su/~megera/wiki/2008-12-17


On Thu, 2 Jul 2009, Hans-Juergen Schoenig -- PostgreSQL wrote:

> hello,
>
> i made a small patch which i found useful for my personal tasks.
> it would be nice to see this in 8.5. if not core then maybe contrib.
> it transforms a tsvector to table format which is really nice for text 
> processing and comparison.
>
> test=# SELECT * FROM tsvcontent(to_tsvector('english', 'i am pretty sure this 
> is a good patch'));
> lex   | rank
> --------+------
> good   |    8
> patch  |    9
> pretti |    3
> sure   |    4
> (4 rows)
>
>   many thanks,
>
>      hans
>
>
    Regards,        Oleg
_____________________________________________________________
Oleg Bartunov, Research Scientist, Head of AstroNet (www.astronet.ru),
Sternberg Astronomical Institute, Moscow University, Russia
Internet: oleg@sai.msu.su, http://www.sai.msu.su/~megera/
phone: +007(495)939-16-83, +007(495)939-23-83


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: tsvector extraction patch
Следующее
От: "Kevin Grittner"
Дата:
Сообщение: Re: Upgrading our minimum required flex version for 8.5