summaryrefslogtreecommitdiff
path: root/src/backend/executor/execExprInterp.c
diff options
context:
space:
mode:
authorAlexander Korotkov2024-04-17 21:29:41 +0000
committerAlexander Korotkov2024-04-17 21:29:53 +0000
commit40126ac68f2ff96351cd6071350eb2d5cbd50145 (patch)
treea99f14ee6065221c2c4de158833a1da3fb582b0c /src/backend/executor/execExprInterp.c
parent3ab8cf92754d5ee4390af4e4840fb45d5bc25007 (diff)
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/execExprInterp.c')
0 files changed, 0 insertions, 0 deletions