pgsql: Send status updates back from standby server to master, indicati
От | Heikki Linnakangas |
---|---|
Тема | pgsql: Send status updates back from standby server to master, indicati |
Дата | |
Msg-id | E1Pnbpz-00041s-O2@gemulon.postgresql.org обсуждение исходный текст |
Список | 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(-)
В списке pgsql-committers по дате отправления: