aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor
diff options
context:
space:
mode:
authorAlexander Korotkov <akorotkov@postgresql.org>2024-04-18 00:29:41 +0300
committerAlexander Korotkov <akorotkov@postgresql.org>2024-04-18 00:29:53 +0300
commit40126ac68f2ff96351cd6071350eb2d5cbd50145 (patch)
treea99f14ee6065221c2c4de158833a1da3fb582b0c /src/backend/executor
parent3ab8cf92754d5ee4390af4e4840fb45d5bc25007 (diff)
downloadpostgresql-40126ac68f2ff96351cd6071350eb2d5cbd50145.tar.gz
postgresql-40126ac68f2ff96351cd6071350eb2d5cbd50145.zip
Refactoring for CommitTransactionCommand()/AbortCurrentTransaction()
fefd9a3fed turned tail recursion of CommitTransactionCommand() and AbortCurrentTransaction() into iteration. However, it splits the handling of cases between different functions. This commit puts the handling of all the cases into AbortCurrentTransactionInternal() and CommitTransactionCommandInternal(). Now CommitTransactionCommand() and AbortCurrentTransaction() are just doing the repeated calls of internal functions. Reported-by: Andres Freund Discussion: https://postgr.es/m/20240415224834.w6piwtefskoh32mv%40awork3.anarazel.de Author: Andres Freund
Diffstat (limited to 'src/backend/executor')
0 files changed, 0 insertions, 0 deletions