Re: Make MemoryContextMemAllocated() more precise

Daniel Gustafsson <daniel@yesql.se>

From: Daniel Gustafsson <daniel@yesql.se>
To: Jeff Davis <pgsql@j-davis.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>, Tomas Vondra <tomas.vondra@postgresql.org>, David Rowley <dgrowleyml@gmail.com>, Andres Freund <andres@anarazel.de>
Date: 2020-07-01T12:34:31Z
Lists: pgsql-hackers
> On 8 Apr 2020, at 02:21, Jeff Davis <pgsql@j-davis.com> wrote:

> The attached patch is narrow and solves the problem for HashAgg nicely
> without interfering with anything else, so I plan to commit it soon for
> v13.

If I read this thread correctly, there is nothing outstanding here for 14 from
this patch?  I've marked the entry committed i the July commitfest, feel to
free to change that in case I misunderstood.

cheers ./daniel


Commits

  1. Create memory context for HashAgg with a reasonable maxBlockSize.

  2. Specialize MemoryContextMemAllocated().