Re: pgsql: Improve accounting for memory used by shared hash tables - Mailing list pgsql-committers

From Tomas Vondra
Subject Re: pgsql: Improve accounting for memory used by shared hash tables
Date
Msg-id db61d8c1-7a27-4576-be37-740632a7e020@vondra.me
Whole thread Raw
In response to Re: pgsql: Improve accounting for memory used by shared hash tables  (David Rowley <dgrowleyml@gmail.com>)
Responses Re: pgsql: Improve accounting for memory used by shared hash tables
List pgsql-committers
On 4/4/25 00:57, David Rowley wrote:
> On Thu, 3 Apr 2025 at 04:16, Tomas Vondra <tomas.vondra@postgresql.org> wrote:
>> Improve accounting for memory used by shared hash tables
> 
> I've not looked into why, but this is causing an issue in the
> join_rel_hash during add_join_rel(). See the attached script.
> 
> ERROR:  pfree called with invalid pointer 0x60a15edc44e0 (header
> 0x0000002000000008)
> 

Thanks for the report and reproducer. I'll take a look tomorrow.

-- 
Tomas Vondra




pgsql-committers by date:

Previous
From: David Rowley
Date:
Subject: Re: pgsql: Improve accounting for memory used by shared hash tables
Next
From: Tomas Vondra
Date:
Subject: Re: pgsql: Improve accounting for memory used by shared hash tables