mirror of
https://github.com/postgres/postgres.git
synced 2025-08-28 18:48:04 +03:00
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
This commit is contained in:
@@ -28,6 +28,7 @@ extern void ProcArrayRemove(PGPROC *proc, TransactionId latestXid);
|
||||
extern void ProcArrayEndTransaction(PGPROC *proc, TransactionId latestXid);
|
||||
extern void ProcArrayClearTransaction(PGPROC *proc);
|
||||
|
||||
extern void ProcArrayInitRecovery(TransactionId initializedUptoXID);
|
||||
extern void ProcArrayApplyRecoveryInfo(RunningTransactions running);
|
||||
extern void ProcArrayApplyXidAssignment(TransactionId topxid,
|
||||
int nsubxids, TransactionId *subxids);
|
||||
|
Reference in New Issue
Block a user