pgsql: Ensure no xid gaps during Hot Standby startup - Mailing list pgsql-committers

From Simon Riggs
Subject pgsql: Ensure no xid gaps during Hot Standby startup
Date
Msg-id E1Uqkhu-0007TT-0U@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Ensure no xid gaps during Hot Standby startup

In some cases with higher numbers of subtransactions
it was possible for us to incorrectly initialize
subtrans leading to complaints of missing pages.

Bug report by Sergey Konoplev
Analysis and fix by Andres Freund

Branch
------
REL9_0_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/f44eedc3f0f347a856eea8590730769125964597

Modified Files
--------------
src/backend/access/transam/xlog.c   |    3 +++
src/backend/storage/ipc/procarray.c |   48 ++++++++++++++++++++++++++++++++---
src/include/storage/procarray.h     |    1 +
3 files changed, 48 insertions(+), 4 deletions(-)


pgsql-committers by date:

Previous
From: Simon Riggs
Date:
Subject: pgsql: Ensure no xid gaps during Hot Standby startup
Next
From: Simon Riggs
Date:
Subject: pgsql: Ensure no xid gaps during Hot Standby startup