Re: tsvector extraction patch - Mailing list pgsql-hackers

From Oleg Bartunov
Subject Re: tsvector extraction patch
Date
Msg-id Pine.LNX.4.64.0907021852270.17118@sn.sai.msu.ru
Whole thread Raw
In response to tsvector extraction patch  (Hans-Juergen Schoenig -- PostgreSQL <postgres@cybertec.at>)
List 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 by date:

Previous
From: Robert Haas
Date:
Subject: Re: tsvector extraction patch
Next
From: "Kevin Grittner"
Date:
Subject: Re: Upgrading our minimum required flex version for 8.5