GIN amcheck leaks memory in gin_check_parent_keys_consistency

From: Kirill Reshke <reshkekirill(at)gmail(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: GIN amcheck leaks memory in gin_check_parent_keys_consistency
Date: 2026-07-02 21:20:08
Message-ID: CALdSSPjTS6TYe5=5NfMUBYZyQu5cn=ABL6K5_OZjzGWqnwXeBw@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I was debugging the GIN index issue today and noticed my postgresql
session which I used to run amcheck eats too much memory. PFA fix.

--
Best regards,
Kirill Reshke

Attachment Content-Type Size
v1-0001-Fix-gin-amcheck-memory-leak.patch application/octet-stream 688 bytes

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Paul A Jungwirth 2026-07-02 21:39:57 Re: SQL:2011 Application Time Update & Delete
Previous Message Robert Haas 2026-07-02 21:16:52 Re: implement CAST(expr AS type FORMAT 'template')