pgsql: Send status updates back from standby server to master, indicati

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Send status updates back from standby server to master, indicati
Date: 2011-02-10 19:05:55
Message-ID: E1Pnbpz-00041s-O2@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Send status updates back from standby server to master, indicating how far
the standby has written, flushed, and applied the WAL. At the moment, this
is for informational purposes only, the values are only shown in
pg_stat_replication system view, but in the future they will also be needed
for synchronous replication.

Extracted from Simon riggs' synchronous replication patch by Robert Haas, with
some tweaking by me.

Branch
------
master

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

Modified Files
--------------
doc/src/sgml/config.sgml | 23 +++++
doc/src/sgml/monitoring.sgml | 7 +-
doc/src/sgml/protocol.sgml | 76 ++++++++++++++++
src/backend/access/transam/xlog.c | 25 +++++-
src/backend/catalog/system_views.sql | 5 +-
src/backend/replication/walreceiver.c | 72 +++++++++++++++
src/backend/replication/walsender.c | 115 ++++++++++++++++++++++---
src/backend/utils/misc/guc.c | 11 +++
src/backend/utils/misc/postgresql.conf.sample | 1 +
src/include/access/xlog.h | 1 +
src/include/catalog/pg_proc.h | 2 +-
src/include/replication/walprotocol.h | 21 +++++
src/include/replication/walreceiver.h | 1 +
src/include/replication/walsender.h | 12 +++-
src/test/regress/expected/rules.out | 2 +-
15 files changed, 352 insertions(+), 22 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2011-02-10 19:16:09 Re: [COMMITTERS] pgsql: Remove more SGML tabs.
Previous Message David Fetter 2011-02-10 18:40:07 Re: [COMMITTERS] pgsql: Remove more SGML tabs.