Re: [PATCH v1] Free oversized decoded WAL records in XLogReaderFree()

From: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
To: Tomás Senart <ts(at)perfloop(dot)ai>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org, Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
Subject: Re: [PATCH v1] Free oversized decoded WAL records in XLogReaderFree()
Date: 2026-11-03 02:24:10
Message-ID: CAHGQGwGghN8qD2qM1un3+N39Xm2s9uvBGCFQvM9amcYO3GnC-g@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Nov 3, 2026 at 8:15 AM Tomás Senart <ts(at)perfloop(dot)ai> wrote:
> The patch calls ResetDecoder() in XLogReaderFree() before the decode
> buffer is freed.

Thanks for the report and patch! It looks good to me.
Barring any objections, I will commit it.

Regards,

--
Fujii Masao

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Etsuro Fujita 2026-11-03 02:26:03 Copy-pasto in comment in ExecAppendAsyncReset
Previous Message Etsuro Fujita 2026-11-03 02:20:01 Re: Asynchronous MergeAppend