Re: Add important info about ANALYZE after create Functional Index - Mailing list pgsql-hackers

From Fabrízio de Royes Mello
Subject Re: Add important info about ANALYZE after create Functional Index
Date
Msg-id CAFcNs+pGfwOxYcKWUpuKM6Q4wgUgi+7KRXV+OZZCQfCHQ9o=Tg@mail.gmail.com
Whole thread Raw
In response to Re: Add important info about ANALYZE after create Functional Index  (Michael Paquier <michael@paquier.xyz>)
List pgsql-hackers


On Sun, 1 Nov 2020 at 09:29 Michael Paquier <michael@paquier.xyz> wrote:
On Sun, Nov 01, 2020 at 09:23:44AM +0900, Michael Paquier wrote:
> 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.

I have looked again at that, and applied it after some tweaks.
Particularly, I did not really like the use of "old" and "new" for the
copy from the old to a new relation in the new function, so I have
replaced that by "from" and "to".


Awesome thanks!!

Regards,

--
   Fabrízio de Royes Mello         Timbira - http://www.timbira.com.br/
   PostgreSQL: Consultoria, Desenvolvimento, Suporte 24x7 e Treinamento

pgsql-hackers by date:

Previous
From: Greg Sabino Mullane
Date:
Subject: Re: psql \df choose functions by their arguments
Next
From: David Christensen
Date:
Subject: Re: psql \df choose functions by their arguments