Re: Documentation bug in 8.3?

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

Tom Lane wrote:
> 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)

OK, thanks. I will clarify the documentation. Patch attached and
applied.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://postgres.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

Attachment Content-Type Size
/rtmp/diff text/x-diff 967 bytes

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message Erik 2008-01-13 19:09:52 Re: Full Text Search examples patch
Previous Message Tom Lane 2008-01-12 21:43:58 Re: Documentation bug in 8.3?