pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tomas Vondra <tomas.vondra@enterprisedb.com>
To: David Rowley <dgrowleyml@gmail.com>
Cc: Alvaro Herrera <alvherre@alvh.no-ip.org>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Extended statistics on expressions
Date: Tue, 6 Apr 2021 16:59:38 +0200
Message-ID: <f6c98599-70dc-2c55-3dba-b7360e91a666@enterprisedb.com> (raw)
In-Reply-To: <CAApHDvpm8OhYmq0_qF6W+CVG4ax8w1EtZAJFyhR+MzmW_aFnXg@mail.gmail.com>
References: <20210331170828.GA26795@alvherre.pgsql>
	<eae26b31-2d9b-1293-a3b0-a8be4820bea3@enterprisedb.com>
	<c61cfe32-251f-e9cb-1be1-0e15218cda17@enterprisedb.com>
	<CAApHDvqJqjeCPwm2Fne05DNe04dRd9D+Oz1GzBcFYMB+zWmm3w@mail.gmail.com>
	<09dcc19c-f2ed-78ec-5c6a-cce32faa785e@enterprisedb.com>
	<CAApHDvpm8OhYmq0_qF6W+CVG4ax8w1EtZAJFyhR+MzmW_aFnXg@mail.gmail.com>

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





view thread (10+ messages)

Message-ID: <f6c98599-70dc-2c55-3dba-b7360e91a666@enterprisedb.com>
Permalink:  ../f6c98599-70dc-2c55-3dba-b7360e91a666@enterprisedb.com/
Also on:    postgresql.org/message-id/f6c98599-70dc-2c55-3dba-b7360e91a666@enterprisedb.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tomas.vondra@enterprisedb.com, dgrowleyml@gmail.com, alvherre@alvh.no-ip.org
  Subject: Re: pgsql: Extended statistics on expressions
  In-Reply-To: <f6c98599-70dc-2c55-3dba-b7360e91a666@enterprisedb.com>
  References: <20210331170828.GA26795@alvherre.pgsql> <eae26b31-2d9b-1293-a3b0-a8be4820bea3@enterprisedb.com> <c61cfe32-251f-e9cb-1be1-0e15218cda17@enterprisedb.com> <CAApHDvqJqjeCPwm2Fne05DNe04dRd9D+Oz1GzBcFYMB+zWmm3w@mail.gmail.com> <09dcc19c-f2ed-78ec-5c6a-cce32faa785e@enterprisedb.com> <CAApHDvpm8OhYmq0_qF6W+CVG4ax8w1EtZAJFyhR+MzmW_aFnXg@mail.gmail.com> <f6c98599-70dc-2c55-3dba-b7360e91a666@enterprisedb.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox