pgsql: Change pg_last_xlog_receive_location() not to move backwards. Th

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Change pg_last_xlog_receive_location() not to move backwards. Th
Date: 2011-03-01 18:57:51
Message-ID: E1PuUlb-0008HR-2a@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Change pg_last_xlog_receive_location() not to move backwards. That makes
it a lot more useful for determining which standby is most up-to-date,
for example. There was long discussions on whether overwriting existing
existing WAL makes sense to begin with, and whether we should do some more
extensive variable renaming, but this change nevertheless seems quite
uncontroversial.

Fujii Masao, reviewed by Jeff Janes, Robert Haas, Stephen Frost.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/6eba5a7c57d1d61f46b6966026bf7bc07f8e087c

Modified Files
--------------
doc/src/sgml/func.sgml | 6 ++----
src/backend/replication/walreceiver.c | 9 ++++++---
src/backend/replication/walreceiverfuncs.c | 13 +++++++++++--
src/include/replication/walreceiver.h | 14 ++++++++++----
4 files changed, 29 insertions(+), 13 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message User Fxjr 2011-03-01 21:09:28 npgsql - Npgsql2: In Multi-threaded applications there is a race
Previous Message Heikki Linnakangas 2011-03-01 17:06:48 pgsql: Fix bugs in Serializable Snapshot Isolation.