pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Bruce Momjian <bruce@momjian.us>
Cc: PostgreSQL-documentation <pgsql-docs@postgresql.org>
Subject: Re: Documentation bug in 8.3?
Date: Sat, 12 Jan 2008 16:43:58 -0500
Message-ID: <22467.1200174238@sss.pgh.pa.us> (raw)
In-Reply-To: <200801122132.m0CLWNF28879@momjian.us>
References: <200801122132.m0CLWNF28879@momjian.us>

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



view thread (3+ messages)  latest in thread

Message-ID: <22467.1200174238@sss.pgh.pa.us>
Permalink:  ../22467.1200174238@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/22467.1200174238@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, bruce@momjian.us
  Subject: Re: Documentation bug in 8.3?
  In-Reply-To: <22467.1200174238@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox