pgsql: Send new protocol keepalive messages to standby servers.

From: Simon Riggs <simon(at)2ndQuadrant(dot)com>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Send new protocol keepalive messages to standby servers.
Date: 2011-12-31 13:34:03
Message-ID: E1Rgz4V-0006Z8-3r@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox
Thread:
Lists: pgsql-committers pgsql-hackers

Send new protocol keepalive messages to standby servers.
Allows streaming replication users to calculate transfer latency
and apply delay via internal functions. No external functions yet.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/64233902d22ba42846397cb7551894217522fad4

Modified Files
--------------
doc/src/sgml/protocol.sgml | 48 +++++++++++++++++++++
src/backend/access/transam/xlog.c | 43 +++++++++++++++++++
src/backend/replication/walreceiver.c | 47 ++++++++++++++++++++-
src/backend/replication/walreceiverfuncs.c | 63 ++++++++++++++++++++++++++++
src/backend/replication/walsender.c | 42 ++++++++++++-------
src/include/access/xlog.h | 1 +
src/include/replication/walprotocol.h | 22 ++++++++++
src/include/replication/walreceiver.h | 8 ++++
8 files changed, 258 insertions(+), 16 deletions(-)

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2011-12-31 15:52:02 alternate psql file locations
Previous Message Simon Riggs 2011-12-31 13:26:25 Re: Should I implement DROP INDEX CONCURRENTLY?

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2012-01-01 22:59:18 pgsql: Fix Perl copyright script to skip .git subdirectory; running it
Previous Message Tom Lane 2011-12-30 23:03:28 pgsql: Revert "Remove troublesome Asserts in cost_mergejoin()."