Re: pgsql: Fix memory arrangement of tsquery after removing stop words.

Поиск
Список
Период
Сортировка
От Teodor Sigaev
Тема Re: pgsql: Fix memory arrangement of tsquery after removing stop words.
Дата
Msg-id 47D3C001.8060800@sigaev.ru
обсуждение исходный текст
Ответ на Re: pgsql: Fix memory arrangement of tsquery after removing stop words.  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-committers
> The buildfarm indicates there's something wrong with the 8.3 version
> of this patch ...

Oh, my mistake. That means that patch of CompareTSQ should be reverted, because
it change comparing of existing tsquery (it's important for existing btree indexes).

Computing tsquery->size and length of tsquery instead of using stored values
causes the same effect: it will affect existing btree indexes.

However, Btree index over tsquery is not very useful. IMHO, the single purpose
is a guarantee unique of stored tsquery.


--
Teodor Sigaev                                   E-mail: teodor@sigaev.ru
                                                    WWW: http://www.sigaev.ru/

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

Предыдущее
От: teodor@postgresql.org (Teodor Sigaev)
Дата:
Сообщение: pgsql: Revert changes of CompareTSQ: it affects existing btree indexes.
Следующее
От: gsmet@pgfoundry.org (User Gsmet)
Дата:
Сообщение: pgfouine - pgfouine: Made date parsing more permissive