pgsql: Include more status information in walsender results
Include more status information in walsender results
Add the current xlog insert location to the response of
IDENTIFY_SYSTEM, and adds result sets containing start
and stop location of backups to BASE_BACKUP responses.
Branch
------
master
Details
-------
http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=76129e7f14b4605db0a046e13abef0e255ffe007
Modified Files
--------------
doc/src/sgml/protocol.sgml | 44 +++++++++++++++++----
src/backend/replication/basebackup.c | 39 ++++++++++++++++++
src/backend/replication/walsender.c | 27 +++++++++++--
src/bin/pg_basebackup/pg_basebackup.c | 70 ++++++++++++++++++++++++++++++++-
4 files changed, 167 insertions(+), 13 deletions(-)
On Thu, Feb 3, 2011 at 7:56 AM, Magnus Hagander <magnus@hagander.net> wrote:
Include more status information in walsender results
Add the current xlog insert location to the response of
IDENTIFY_SYSTEM, and adds result sets containing start
and stop location of backups to BASE_BACKUP responses.
Does this have anything to do with the following error message I'm now
getting when trying to use streaming replication?
FATAL: invalid response from primary server
DETAIL: Expected 1 tuple with 2 fields, got 1 tuples with 3 fields.
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
On Sun, Feb 6, 2011 at 01:54, Robert Haas <robertmhaas@gmail.com> wrote:
On Thu, Feb 3, 2011 at 7:56 AM, Magnus Hagander <magnus@hagander.net> wrote:
Include more status information in walsender results
Add the current xlog insert location to the response of
IDENTIFY_SYSTEM, and adds result sets containing start
and stop location of backups to BASE_BACKUP responses.Does this have anything to do with the following error message I'm now
getting when trying to use streaming replication?FATAL: invalid response from primary server
DETAIL: Expected 1 tuple with 2 fields, got 1 tuples with 3 fields.
Yes. I believe I forgot to "git add" that one file that was off hiding
in another directory.
Thanks, fix applied.
--
Magnus Hagander
Me: http://www.hagander.net/
Work: http://www.redpill-linpro.com/