Re: Flexible configuration for full-text search

Поиск
Список
Период
Сортировка
От Aleksandr Parfenov
Тема Re: Flexible configuration for full-text search
Дата
Msg-id 20180202172448.3b6f94ae@asp437-24-g082ur
обсуждение исходный текст
Ответ на Re: Flexible configuration for full-text search  (Aleksander Alekseev <a.alekseev@postgrespro.ru>)
Ответы Re: Flexible configuration for full-text search
Список pgsql-hackers
Hi Aleksander,

Thank you for the review!

> 1. There are no comments for some procedures, their arguments and
> return values. Ditto regarding structures and their fields.
> 
> 2. Please, fix the year in the copyright messages from 2017 to 2018.

Both issues are fixed.
 
> 3. Somehow I doubt that current amount of tests covers most of the 
> functionality. Are you sure that if we run lcov, it will not show
> that most of the new code is never executed during make
> installcheck-world?

I checked it and most of the new code is executed (I mostly checked
ts_parse.c and ts_configmap.c because those files contain most of the
potentially unchecked code). I have added some tests to test output of
the configurations. Also, I have added a test of TEXT CONFIGURATION into
unaccent contrib to test the MAP operator.

> 4. I'm a bit concerned regarding change of the catalog in the 
> src/include/catalog/indexing.h file. Are you sure it will not break
> if I migrate from PostgreSQL 10 to PostgreSQL 11?

I have tested an upgrade process via pg_upgrade from PostgreSQL 10 and
PostgreSQL 9.6 and have found a bug in a way the pg_dump generates
schema dump for old databases. I fixed it and now pg_upgrade works fine.

The new version of the patch is in an attachment.

-- 
Aleksandr Parfenov
Postgres Professional: http://www.postgrespro.com
Russian Postgres Company
Вложения

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

Предыдущее
От: Claudio Freire
Дата:
Сообщение: Re: [HACKERS] [PATCH] Vacuum: Update FSM more frequently
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] Re: Improve OR conditions on joined columns (common star schema problem)