Doubt Regarding changes to disable keepalives in walsender - Mailing list pgsql-hackers

From Amit Kapila
Subject Doubt Regarding changes to disable keepalives in walsender
Date
Msg-id 005d01cd971e$7a1238c0$6e36aa40$@kapila@huawei.com
Whole thread Raw
List pgsql-hackers
<div class="WordSection1"><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif"">In
commitda4efa13d801ccc179f1d2c24d8a60c4a2f8ede9, sending of keepalive messages have been disabled in walsender. <br
/>Commitmessage is “ Turn off WalSender keepalives by default, users can enable if desired.”</span><p
class="MsoNormal"><spanstyle="font-size:12.0pt;font-family:"Times New Roman","serif"">But I am not able to see how
userscan enable it, can you please point me if I am missing something?</span><p class="MsoNormal"><span
style="font-size:12.0pt;font-family:"TimesNew Roman","serif""> </span><p class="MsoNormal"><span
style="font-size:12.0pt;font-family:"TimesNew Roman","serif"">This doubt came as I am implementing replication timeout
forwalreceiver and for that walsender has to send some form of heartbeat message at predefined interval. I wanted to
usekeepalive to achieve the same, but then noticed the above and got stuck.</span><p class="MsoNormal"><span
style="font-size:12.0pt;font-family:"TimesNew Roman","serif""> </span><p class="MsoNormal"><span
style="font-size:12.0pt;font-family:"TimesNew Roman","serif""> </span><p class="MsoNormal"><span
style="font-size:12.0pt;font-family:"TimesNew Roman","serif"">With Regards,</span><p class="MsoNormal"><span
style="font-size:12.0pt;font-family:"TimesNew Roman","serif"">Amit Kapila.</span></div> 

pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: [PATCH] Make pg_basebackup configure and start standby [Review]
Next
From: Amit Kapila
Date:
Subject: Re: ToDo: allow to get a number of processed rows by COPY statement [Review of Patch]