1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-26 12:21:12 +03:00

Cleanup VirtualXact at end of Hot Standby

Resolves bug 7572 reported by Daniele Varrazzo
This commit is contained in:
Simon Riggs
2012-11-29 22:17:15 +00:00
parent fdac4e2ba2
commit edfc84b878
3 changed files with 5 additions and 2 deletions

View File

@ -103,6 +103,9 @@ ShutdownRecoveryTransactionEnvironment(void)
/* Release all locks the tracked transactions were holding */
StandbyReleaseAllLocks();
/* Cleanup our VirtualTransaction */
VirtualXactLockTableCleanup();
}