Re: Documentation bug in 8.3? - Mailing list pgsql-docs

From Tom Lane
Subject Re: Documentation bug in 8.3?
Date
Msg-id 22467.1200174238@sss.pgh.pa.us
Whole thread Raw
In response to Documentation bug in 8.3?  (Bruce Momjian <bruce@momjian.us>)
Responses Re: Documentation bug in 8.3?
List pgsql-docs
Bruce Momjian <bruce@momjian.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

pgsql-docs by date:

Previous
From: Bruce Momjian
Date:
Subject: Documentation bug in 8.3?
Next
From: Bruce Momjian
Date:
Subject: Re: Documentation bug in 8.3?