Skip site navigation (1) Skip section navigation (2)

pgsql: Correctly initialise shared recoveryLastRecPtr in recovery.

From: Simon Riggs <simon(at)2ndQuadrant(dot)com>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Correctly initialise shared recoveryLastRecPtr in recovery.
Date: 2012-02-22 13:55:26
Message-ID: E1S0CfG-0004UR-M5@gemulon.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Correctly initialise shared recoveryLastRecPtr in recovery.
Previously we used ReadRecPtr rather than EndRecPtr, which was
not a serious error but caused pg_stat_replication to report
incorrect replay_location until at least one WAL record is replayed.

Fujii Masao

Branch
------
REL9_0_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/315cb2f9672e93f6b34726ce81c7e75a374aedd2

Modified Files
--------------
src/backend/access/transam/xlog.c |    2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

pgsql-committers by date

Next:From: Alvaro HerreraDate: 2012-02-22 20:34:26
Subject: pgsql: REASSIGN OWNED: Support foreign data wrappers and servers
Previous:From: Simon RiggsDate: 2012-02-22 13:54:39
Subject: pgsql: Correctly initialise shared recoveryLastRecPtr in recovery.

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group