Re: tsvector extraction patch

From: Hans-Juergen Schoenig -- PostgreSQL <postgres(at)cybertec(dot)at>
To: pgsql-hackers(at)postgresql(dot)org, zb(at)cybertec(dot)at
Subject: Re: tsvector extraction patch
Date: 2009-07-03 08:01:08
Message-ID: 4A4DBAC4.4010003@cybertec.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hans-Juergen Schoenig -- PostgreSQL wrote:
> hello,
>
> this patch has not made it through yesterday, so i am trying to send
> it again.
> 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
>

--
Cybertec Schoenig & Schoenig GmbH
Reyergasse 9 / 2
A-2700 Wiener Neustadt
Web: www.postgresql-support.de

Attachment Content-Type Size
tsvcontent-0.1-ctxdiff.diff text/x-patch 7.1 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jan Urbański 2009-07-03 08:08:07 Re: bug in Google translate snippet
Previous Message Hans-Juergen Schoenig -- PostgreSQL 2009-07-03 07:49:41 tsvector extraction patch