pgsql: Cleanup initialization of Hot Standby.

From: sriggs(at)postgresql(dot)org (Simon Riggs)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Cleanup initialization of Hot Standby.
Date: 2010-05-13 11:15:38
Message-ID: 20100513111538.7CDB87541D2@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Cleanup initialization of Hot Standby. Clarify working with reanalysis
of requirements and documentation on LogStandbySnapshot(). Fixes
two minor bugs reported by Tom Lane that would lead to an incorrect
snapshot after transaction wraparound. Also fix two other problems
discovered that would give incorrect snapshots in certain cases.
ProcArrayApplyRecoveryInfo() substantially rewritten. Some minor
refactoring of xact_redo_apply() and ExpireTreeKnownAssignedTransactionIds().

Modified Files:
--------------
pgsql/src/backend/access/transam:
xact.c (r1.289 -> r1.290)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/transam/xact.c?r1=1.289&r2=1.290)
xlog.c (r1.409 -> r1.410)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/transam/xlog.c?r1=1.409&r2=1.410)
pgsql/src/backend/storage/ipc:
procarray.c (r1.68 -> r1.69)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/storage/ipc/procarray.c?r1=1.68&r2=1.69)
standby.c (r1.21 -> r1.22)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/storage/ipc/standby.c?r1=1.21&r2=1.22)
pgsql/src/include/storage:
procarray.h (r1.31 -> r1.32)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/storage/procarray.h?r1=1.31&r2=1.32)
standby.h (r1.9 -> r1.10)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/storage/standby.h?r1=1.9&r2=1.10)

Browse pgsql-committers by date

  From Date Subject
Next Message Simon Riggs 2010-05-13 11:39:30 pgsql: Ensure that top level aborts call XLogSetAsyncCommit().
Previous Message Peter Eisentraut 2010-05-13 10:50:20 pgsql: Translation update