Re: Fix memory leak in gist_page_items() of pageinspect
Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
From: Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
To: Chao Li <li.evan.chao@gmail.com>
Cc: Daniel Gustafsson <daniel@yesql.se>, Heikki Linnakangas <hlinnaka@iki.fi>, Michael Paquier <michael@paquier.xyz>, Postgres hackers <pgsql-hackers@lists.postgresql.org>
Date: 2025-12-15T13:39:56Z
Lists: pgsql-hackers
Hi, On Mon, Dec 15, 2025 at 06:56:06PM +0800, Chao Li wrote: > On Mon, Dec 15, 2025 at 5:28 PM Chao Li <li.evan.chao@gmail.com> wrote: > > > > I think your point is valid. Let's not break the current meaning of > > maxlen. I added buf_initialized in v3. As 0001 has been pushed, v2-0002 now > > becomes v3-0001. > > > > Oops, forgot the attachment. Here comes it. LGTM, thanks! Regards, -- Bertrand Drouvot PostgreSQL Contributors Team RDS Open Source Databases Amazon Web Services: https://aws.amazon.com