Doubt Regarding changes to disable keepalives in walsender

From: Amit Kapila <amit(dot)kapila(at)huawei(dot)com>
To: "'Simon Riggs'" <simon(at)2ndQuadrant(dot)com>, "'Pg Hackers'" <pgsql-hackers(at)postgresql(dot)org>
Subject: Doubt Regarding changes to disable keepalives in walsender
Date: 2012-09-20 10:55:40
Message-ID: 005d01cd971e$7a1238c0$6e36aa40$@kapila@huawei.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

In commit da4efa13d801ccc179f1d2c24d8a60c4a2f8ede9, sending of keepalive
messages have been disabled in walsender.
Commit message is " Turn off WalSender keepalives by default, users can
enable if desired."

But I am not able to see how users can enable it, can you please point me if
I am missing something?

This doubt came as I am implementing replication timeout for walreceiver and
for that walsender has to send some form of heartbeat message at predefined
interval. I wanted to use keepalive to achieve the same, but then noticed
the above and got stuck.

With Regards,

Amit Kapila.

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Kapila 2012-09-20 13:08:13 Re: ToDo: allow to get a number of processed rows by COPY statement [Review of Patch]
Previous Message Amit Kapila 2012-09-20 10:30:47 [PATCH] Make pg_basebackup configure and start standby [Review]