pgsql: Correctly initialise shared recoveryLastRecPtr in recovery.
pgsql: Correctly initialise shared recoveryLastRecPtr in recovery.
От:
Simon Riggs <simon@2ndQuadrant.com>
Дата:
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_1_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/11c730f4122ee8677b1cfdd5647faeaabc471af8 Modified Files -------------- src/backend/access/transam/xlog.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)