Teach pg_basebackup and pg_receivexlog to reply to server keepalives.

Heikki Linnakangas <heikki.linnakangas@iki.fi>

Commit: a9dad56441e4bc5d20c34bd56daf8e72df1b22d3
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: 2012-11-08T08:28:52Z
Releases: 9.3.0
Teach pg_basebackup and pg_receivexlog to reply to server keepalives.

Without this, the connection will be killed after timeout if
wal_sender_timeout is set in the server.

Original patch by Amit Kapila, modified by me to fit recent changes in the
code.

Files