Re: Documentation bug in 8.3?

Поиск
Список
Период
Сортировка
Искать
От
Tom Lane
Тема
Re: Documentation bug in 8.3?
Дата
Msg-id
22467.1200174238@sss.pgh.pa.us
Ответ на
Список
Дерево обсуждения
Documentation bug in 8.3? Bruce Momjian <bruce@momjian.us>
Re: Documentation bug in 8.3? Tom Lane <tgl@sss.pgh.pa.us>
Re: Documentation bug in 8.3? Bruce Momjian <bruce@momjian.us>
Bruce Momjian  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 по дате отправления
От: Bruce Momjian
Дата:
Сообщение: Documentation bug in 8.3?
От: Bruce Momjian
Дата:
Сообщение: Re: Documentation bug in 8.3?
FAQ