On Fri, Jan 14, 2022 at 3:47 PM Fabrice Chapuis <fabrice636861@gmail.com> wrote: > > If I can follow you, I have to make the following changes: >
No, not like that but we can try that way as well to see if that helps to avoid your problem. Am, I understanding correctly even after modification, you are seeing the problem. Can you try by calling WalSndKeepaliveIfNecessary() instead of WalSndKeepalive()?