Teach pg_basebackup and pg_receivexlog to reply to server keepalives.
Heikki Linnakangas <heikki.linnakangas@iki.fi>
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
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/ref/pg_basebackup.sgml | modified | +4 −4 |
| doc/src/sgml/ref/pg_receivexlog.sgml | modified | +4 −3 |
| src/bin/pg_basebackup/receivelog.c | modified | +37 −9 |