Re: Reset the output buffer after sending from WalSndWriteData

2025-02-21 Thread Markus Wanner
On 2/21/25 07:17, Masahiko Sawada wrote: On Thu, Feb 20, 2025 at 12:50 PM Markus Wanner wrote: Hi, I recently stumbled over an issue with an unintentional re-transmission. While this clearly was our fault in the output plugin code, I think the walsender's exposed API could easily be hardened

Re: Reset the output buffer after sending from WalSndWriteData

2025-02-20 Thread Masahiko Sawada
On Thu, Feb 20, 2025 at 12:50 PM Markus Wanner wrote: > > Hi, > > I recently stumbled over an issue with an unintentional re-transmission. > While this clearly was our fault in the output plugin code, I think the > walsender's exposed API could easily be hardened to prevent the bad > consequence f

Reset the output buffer after sending from WalSndWriteData

2025-02-20 Thread Markus Wanner
ached one line patch? Best Regards MarkusFrom 65dd24ed975cc513e4e0de5e175dff16b4b0f6d4 Mon Sep 17 00:00:00 2001 From: Markus Wanner Date: Thu, 20 Feb 2025 21:01:45 +0100 Subject: [PATCH] Reset the output buffer after sending from WalSndWriteData While not strictly necessary, clearing the buffer