Re: BUG #13440: unaccent does not remove all diacritics

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #13440: unaccent does not remove all diacritics
Дата
Msg-id 28378.1441251832@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #13440: unaccent does not remove all diacritics  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Ответы Re: BUG #13440: unaccent does not remove all diacritics  (Bruce Momjian <bruce@momjian.us>)
Re: BUG #13440: unaccent does not remove all diacritics  (Teodor Sigaev <teodor@sigaev.ru>)
Список pgsql-bugs
Alvaro Herrera <alvherre@2ndquadrant.com> writes:
> Tom Lane wrote:
>> No, not after someone pointed out that it could have strange side-effects
>> on full text search configurations that used unaccent.  You'd stop being
>> able to find documents whenever your search term is stripped of accents
>> more thoroughly than before.  That might be all right in a new major
>> release (if it documents that you might have to rebuild your FTS indexes
>> and derived tsvector columns).  It's not all right in a minor release.

> Hmm, so what happens if you pg_upgrade FTS indexes?  Are they somehow
> marked invalid and a REINDEX is forced?

No.  They're not broken in a fundamental way, it's just that certain
search terms no longer find document words you might think they should
match.  Oleg and Teodor argued back at the beginning of the FTS stuff
that this sort of thing wasn't critical, and I agree --- but we shouldn't
change the mapping in minor releases.

            regards, tom lane

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Gerdan Rezende dos Santos
Дата:
Сообщение: Re: error on online backup using pg_basebackup tool
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: error on online backup using pg_basebackup tool