Thread

  1. Re: Fix memory leak in gist_page_items() of pageinspect

    Daniel Gustafsson <daniel@yesql.se> — 2025-12-12T10:29:27Z

    > On 12 Dec 2025, at 11:27, Heikki Linnakangas <hlinnaka@iki.fi> wrote:
    
    > If we're going to bother changing this at all, let's consider reusing the buffer. So instead of initStringInfo()+pfree on every tuple, allocate it once and use resetStringInfo().
    
    +1
    
    --
    Daniel Gustafsson