Re: Add important info about ANALYZE after create Functional Index

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Add important info about ANALYZE after create Functional Index
Дата
Msg-id 20201101002344.GA3000@paquier.xyz
обсуждение исходный текст
Ответ на Re: Add important info about ANALYZE after create Functional Index  (Fabrízio de Royes Mello <fabriziomello@gmail.com>)
Ответы Re: Add important info about ANALYZE after create Functional Index  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
On Sat, Oct 31, 2020 at 07:56:33PM -0300, Fabrízio de Royes Mello wrote:
> Even if we won't use it now, IMHO it is more legible to separate this
> responsibility into its own CopyStatistics function as attached.

By doing so, there is no need to include pg_statistic.h in index.c.
Except that, the logic looks fine at quick glance.  In the long-term,
I also think that it would make sense to move both routnes out of
heap.c into a separate pg_statistic.c.  That's material for a separate
patch of course.
--
Michael

Вложения

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

Предыдущее
От: Euler Taveira
Дата:
Сообщение: Re: cleanup temporary files after crash
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: cleanup temporary files after crash