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

From David G. Johnston
Subject Re: Add important info about ANALYZE after create Functional Index
Date
Msg-id CAKFQuwYGj-P3un2rGbj8Yc8oUohf_kUkDCnO5ap57bO85e56dQ@mail.gmail.com
Whole thread Raw
In response to Re: Add important info about ANALYZE after create Functional Index  (Tomas Vondra <tomas.vondra@2ndquadrant.com>)
Responses Re: Add important info about ANALYZE after create Functional Index
List pgsql-hackers
On Wed, Oct 28, 2020 at 11:55 AM Tomas Vondra <tomas.vondra@2ndquadrant.com> wrote:
I agree the lack of stats may be quite annoying and cause issues, but my
guess is the chances of backpatching such change are about 0.000001%. We
have a usable 'workaround' for this - manual analyze.

My guess is that it wouldn't be too difficult to write a patch that could be safely back-patched and it's worth doing so even if ultimately the decision is not to.  But then again the patch writer isn't going to be me.

Given how simple the manual workaround is not having it be manual seems like it would be safe and straight-forward to implement.

David J.

pgsql-hackers by date:

Previous
From: Tomas Vondra
Date:
Subject: Re: Add important info about ANALYZE after create Functional Index
Next
From: Tomas Vondra
Date:
Subject: Re: [HACKERS] Custom compression methods