Re: Documentation bug in 8.3?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: PostgreSQL-documentation <pgsql-docs(at)postgresql(dot)org>
Subject: Re: Documentation bug in 8.3?
Date: 2008-01-12 21:43:58
Message-ID: 22467.1200174238@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

Bruce Momjian <bruce(at)momjian(dot)us> writes:
> clamped to 16383. Duplicate position entries are discarded.
> ----------------------------------------

> However in my testing of 8.3 duplicate position entries are not
> discarded:

> test=> SELECT 'a:1 b:1'::tsvector;
> tsvector
> -------------
> 'a':1 'b':1
> (1 row)

Those aren't duplicates, because they're not attached to the same
lexeme. The comment is talking about this behavior:

regression=# SELECT 'a:1 a:1'::tsvector;
tsvector
----------
'a':1
(1 row)

regression=# SELECT 'a:1,2,1'::tsvector;
tsvector
----------
'a':1,2
(1 row)

regards, tom lane

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Bruce Momjian 2008-01-12 21:51:50 Re: Documentation bug in 8.3?
Previous Message Bruce Momjian 2008-01-12 21:32:23 Documentation bug in 8.3?