Re: don't allocate HashAgg hash tables when running explain only
Greg Stark <stark@mit.edu>
From: Greg Stark <stark@mit.edu>
To: Heikki Linnakangas <hlinnaka@iki.fi>
Cc: Alexey Bashtanov <bashtanov@imap.cc>,
PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2020-11-19T05:20:15Z
Lists: 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
Commits
-
Skip allocating hash table in EXPLAIN-only mode.
- ded7db4c1ddd 9.5.25 landed
- 02a2dbe91d37 9.6.21 landed
- 1dbe627fd6bf 10.16 landed
- 57b5d8484c8a 11.11 landed
- 888fa2baeb39 12.6 landed
- 340ae3cfb8f3 13.2 landed
- 2cccb627f10d 14.0 landed