On 4/1/21 4:24 AM, David Rowley wrote:
> On Thu, 1 Apr 2021 at 14:49, Tomas Vondra <tomas.vondra@enterprisedb.com> wrote:
>> I think that's probably sufficient for now. More testing may be useful
>> once I refactor the code a bit to make it more readable.
>
> Just to let you know, I left it running a bit longer. About 70 mins
> now. No crashes yet.
>
I've pushed a fix for this. I've reworked the loop where we apply the
selected extended statistics, breaking the complex "if" condition into
smaller / easier to understand pieces.
regards
--
Tomas Vondra
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company