Re: ts_count

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: ts_count
Date: 2011-06-05 00:59:51
Message-ID: 1307235537-sup-1699@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Excerpts from Andrew Dunstan's message of sáb jun 04 08:47:02 -0400 2011:

> A snippet from the regression test:
>
>
> select ts_count(to_tsvector('managing managers manage peons managerially'),
> to_tsquery('managers | peon'));
> ts_count
> ----------
> 4

Err, shouldn't this return 5?

--
Álvaro Herrera <alvherre(at)commandprompt(dot)com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

  • ts_count at 2011-06-04 12:47:02 from Andrew Dunstan

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2011-06-05 02:09:25 Re: ts_count
Previous Message Noah Misch 2011-06-05 00:36:12 Re: Assert failure when rechecking an exclusion constraint