]> granicus.if.org Git - postgresql/commit
Ensure no xid gaps during Hot Standby startup
authorSimon Riggs <simon@2ndQuadrant.com>
Sun, 23 Jun 2013 10:05:02 +0000 (11:05 +0100)
committerSimon Riggs <simon@2ndQuadrant.com>
Sun, 23 Jun 2013 13:41:07 +0000 (14:41 +0100)
commit99ee15b315c187045a95db7b27fd9d866aea93e0
treeb240ee7071d1334d7e18203053464db3719aee4b
parent73c103dfa7970ea6e83a497b6d72af6f2df566a1
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
src/backend/access/transam/xlog.c
src/backend/storage/ipc/procarray.c
src/include/storage/procarray.h