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-01-13 13:05:47
Message-ID: E1RlgpH-0003R0-JJ@gemulon.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committerspgsql-hackers
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
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/5530623d0326e96e40b8d54275da256ca0fb6856

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

Responses

pgsql-hackers by date

Next:From: Greg SmithDate: 2012-01-13 13:10:27
Subject: Re: pgbench post-connection command
Previous:From: Simon RiggsDate: 2012-01-13 12:52:44
Subject: Re: New replication mode: write

pgsql-committers by date

Next:From: Robert HaasDate: 2012-01-13 13:22:12
Subject: pgsql: Typo fix.
Previous:From: Simon RiggsDate: 2012-01-13 13:01:05
Subject: pgsql: Minor but necessary improvements to WAL keepalives

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