Re: REINDEX filtering in the backend

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: REINDEX filtering in the backend
Дата
Msg-id 20190828050951.GH1965@paquier.xyz
обсуждение исходный текст
Ответ на Re: REINDEX filtering in the backend  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
On Wed, Aug 28, 2019 at 02:02:08PM +0900, Michael Paquier wrote:
> +       index = index_open(indexOid, AccessShareLock);
> +       numAtts = index->rd_index->indnatts;
> +       index_close(index, AccessShareLock);
> Wouldn't it be better to close that after doing the scan?
>
> Nit: I am pretty sure that this should be indented.
>
> Could you add tests with REINDEX CONCURRENTLY?

Bonus: support for reindexdb should be added.  Let's not forget about
it.
--
Michael

Вложения

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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: REINDEX filtering in the backend
Следующее
От: Fabien COELHO
Дата:
Сообщение: Re: pgbench - implement strict TPC-B benchmark