forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit74eaf66
committed
Call WaitLSNCleanup() in AbortTransaction()
Even though waiting for replay LSN happens without explicit transaction,AbortTransaction() is responsible for the cleanup of the shared memory ifthe error is thrown in a stored procedure. So, we need to do WaitLSNCleanup()there to clean up after some unexpected error happened while waiting forreplay LSN.Discussion:https://postgr.es/m/202404051815.eri4u5q6oj26%40alvherre.pgsqlAuthor: Alvaro Herrera1 parentee79928 commit74eaf66
1 file changed
+6
-0
lines changedLines changed: 6 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
38 | 38 |
| |
39 | 39 |
| |
40 | 40 |
| |
| 41 | + | |
41 | 42 |
| |
42 | 43 |
| |
43 | 44 |
| |
| |||
2771 | 2772 |
| |
2772 | 2773 |
| |
2773 | 2774 |
| |
| 2775 | + | |
| 2776 | + | |
| 2777 | + | |
| 2778 | + | |
| 2779 | + | |
2774 | 2780 |
| |
2775 | 2781 |
| |
2776 | 2782 |
| |
|
0 commit comments
Comments
(0)