git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: ee79928) | patch
Call WaitLSNCleanup() in AbortTransaction()
Sat, 6 Apr 2024 21:32:46 +0000 (00:32 +0300)
Sat, 6 Apr 2024 21:49:53 +0000 (00:49 +0300)
commit 74eaf66f988c868deb0816bae4dd184eedae1448
Call WaitLSNCleanup() in AbortTransaction()

Even though waiting for replay LSN happens without explicit transaction,
AbortTransaction() is responsible for the cleanup of the shared memory if
the error is thrown in a stored procedure. So, we need to do WaitLSNCleanup()
there to clean up after some unexpected error happened while waiting for
replay LSN.

Discussion: https://postgr.es/m/202404051815.eri4u5q6oj26%40alvherre.pgsql
Author: Alvaro Herrera
src/backend/access/transam/xact.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /