Thread: pgsql: Teach pg_basebackup and pg_receivexlog to reply to server keepal

pgsql: Teach pg_basebackup and pg_receivexlog to reply to server keepal

From
Heikki Linnakangas
Date:
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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/a9dad56441e4bc5d20c34bd56daf8e72df1b22d3

Modified Files
--------------
doc/src/sgml/ref/pg_basebackup.sgml  |    8 +++---
doc/src/sgml/ref/pg_receivexlog.sgml |    7 +++--
src/bin/pg_basebackup/receivelog.c   |   46 +++++++++++++++++++++++++++------
3 files changed, 45 insertions(+), 16 deletions(-)