Reset the output buffer after sending from WalSndWriteData - Mailing list pgsql-hackers

From Markus Wanner
Subject Reset the output buffer after sending from WalSndWriteData
Date
Msg-id 7c9c2f8d-ff29-48a6-bf1f-53fb278bc1ad@enterprisedb.com
Whole thread Raw
Responses Re: Reset the output buffer after sending from WalSndWriteData
List pgsql-hackers
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 from this mistake.

Does anything speak against the attached one line patch?

Best Regards

Markus
Attachment

pgsql-hackers by date:

Previous
From: Daniel Gustafsson
Date:
Subject: Re: [PoC] Federated Authn/z with OAUTHBEARER
Next
From: Alena Rybakina
Date:
Subject: Re: Replace IN VALUES with ANY in WHERE clauses during optimization