Re: don't allocate HashAgg hash tables when running explain only - Mailing list pgsql-hackers

From Greg Stark
Subject Re: don't allocate HashAgg hash tables when running explain only
Date
Msg-id CAM-w4HO=+z2sFcDVdkBD_0xZO676A=8D2NJjVAr23RLs5DaCfA@mail.gmail.com
Whole thread Raw
In response to Re: don't allocate HashAgg hash tables when running explain only  (Heikki Linnakangas <hlinnaka@iki.fi>)
Responses Re: don't allocate HashAgg hash tables when running explain only  (Heikki Linnakangas <hlinnaka@iki.fi>)
List pgsql-hackers
On Wed, 18 Nov 2020 at 05:40, Heikki Linnakangas <hlinnaka@iki.fi> wrote:
>
> On 13/11/2020 18:10, Alexey Bashtanov wrote:
>> > I would appreciate if someone could have a look at the patch attached,
> > which makes executor skip initializing hash tables when doing explain only.
>
> Makes sense. Committed, thanks for the patch!


Egads. That seems like a backpatchable bug fix to me. Have we been
doing this all along?!

-- 
greg



pgsql-hackers by date:

Previous
From: Thomas Munro
Date:
Subject: Re: Cache relation sizes?
Next
From: Kyotaro Horiguchi
Date:
Subject: Re: Protect syscache from bloating with negative cache entries