Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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: /rtmp/diff
Description: text/x-diff (967 bytes)

In response to

pgsql-docs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group