On 4/4/25 00:57, David Rowley wrote: > On Thu, 3 Apr 2025 at 04:16, Tomas Vondra <tomas.von...@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