Re: memory leak in dbase_redo()

Nathan Bossart <nathandbossart@gmail.com>

From: Nathan Bossart <nathandbossart@gmail.com>
To: Álvaro Herrera <alvherre@kurilemu.de>
Cc: Andres Freund <andres@anarazel.de>, pgsql-hackers@postgresql.org, Robert Haas <robertmhaas@gmail.com>
Date: 2025-10-09T20:07:06Z
Lists: pgsql-hackers
On Thu, Oct 09, 2025 at 06:36:58PM +0200, Álvaro Herrera wrote:
> On 2025-Oct-09, Nathan Bossart wrote:
>> It looks like this was introduced by commit 9e4f914, which was
>> back-patched, but the code path in question first appears in v15.  So,
>> presumably something like the following needs to be back-patched that far.
>> I can take care of it unless someone else wants it.
> 
> Hmm, it's my bug, please let me get it done.

Sounds good, thanks.

-- 
nathan



Commits

  1. dbase_redo: Fix Valgrind-reported memory leak

  2. Fix replay of create database records on standby