mirror of
https://github.com/postgres/postgres.git
synced 2025-07-12 21:01:52 +03:00
Always SnapshotResetXmin() during ClearTransaction()
Avoid corner cases during 2PC with 6bad580d9e
This commit is contained in:
@ -2640,7 +2640,7 @@ CleanupTransaction(void)
|
||||
* do abort cleanup processing
|
||||
*/
|
||||
AtCleanup_Portals(); /* now safe to release portal memory */
|
||||
AtEOXact_Snapshot(false, false); /* and release the transaction's snapshots */
|
||||
AtEOXact_Snapshot(false, true); /* and release the transaction's snapshots */
|
||||
|
||||
CurrentResourceOwner = NULL; /* and resource owner */
|
||||
if (TopTransactionResourceOwner)
|
||||
|
Reference in New Issue
Block a user