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:
@ -103,6 +103,9 @@ ShutdownRecoveryTransactionEnvironment(void)
|
||||
|
||||
/* Release all locks the tracked transactions were holding */
|
||||
StandbyReleaseAllLocks();
|
||||
|
||||
/* Cleanup our VirtualTransaction */
|
||||
VirtualXactLockTableCleanup();
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user