diff options
author | Simon Riggs <simon@2ndQuadrant.com> | 2012-11-29 22:17:15 +0000 |
---|---|---|
committer | Simon Riggs <simon@2ndQuadrant.com> | 2012-11-29 22:17:15 +0000 |
commit | edfc84b878d667bb074048cccb5f363ea66a82c8 (patch) | |
tree | 9cbf14f20ef5516faac950acd585b30dc9e4b683 /src/backend/storage/ipc | |
parent | fdac4e2ba2ae75080d9e8c6e34934c9d32fe26ee (diff) |
Cleanup VirtualXact at end of Hot Standby
Resolves bug 7572 reported by Daniele Varrazzo
Diffstat (limited to 'src/backend/storage/ipc')
-rw-r--r-- | src/backend/storage/ipc/standby.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/backend/storage/ipc/standby.c b/src/backend/storage/ipc/standby.c index 8205b4135e4..0658feb076c 100644 --- a/src/backend/storage/ipc/standby.c +++ b/src/backend/storage/ipc/standby.c @@ -103,6 +103,9 @@ ShutdownRecoveryTransactionEnvironment(void) /* Release all locks the tracked transactions were holding */ StandbyReleaseAllLocks(); + + /* Cleanup our VirtualTransaction */ + VirtualXactLockTableCleanup(); } |