Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4120864

Browse files
committed
Change transaction state debug strings to match enum symbols
In some cases, these were different for no apparent reason, makingdebugging unnecessarily mysterious.Reviewed-by: Alvaro Herrera <alvherre@alvh.no-ip.org>
1 parent8114885 commit4120864

File tree

1 file changed

+12
-12
lines changed
  • src/backend/access/transam

1 file changed

+12
-12
lines changed

‎src/backend/access/transam/xact.c

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5144,29 +5144,29 @@ BlockStateAsString(TBlockState blockState)
51445144
caseTBLOCK_ABORT:
51455145
return"ABORT";
51465146
caseTBLOCK_ABORT_END:
5147-
return"ABORT END";
5147+
return"ABORT_END";
51485148
caseTBLOCK_ABORT_PENDING:
5149-
return"ABORT PEND";
5149+
return"ABORT_PENDING";
51505150
caseTBLOCK_PREPARE:
51515151
return"PREPARE";
51525152
caseTBLOCK_SUBBEGIN:
5153-
return"SUB BEGIN";
5153+
return"SUBBEGIN";
51545154
caseTBLOCK_SUBINPROGRESS:
5155-
return"SUB INPROGRS";
5155+
return"SUBINPROGRESS";
51565156
caseTBLOCK_SUBRELEASE:
5157-
return"SUB RELEASE";
5157+
return"SUBRELEASE";
51585158
caseTBLOCK_SUBCOMMIT:
5159-
return"SUB COMMIT";
5159+
return"SUBCOMMIT";
51605160
caseTBLOCK_SUBABORT:
5161-
return"SUB ABORT";
5161+
return"SUBABORT";
51625162
caseTBLOCK_SUBABORT_END:
5163-
return"SUB ABORT END";
5163+
return"SUBABORT_END";
51645164
caseTBLOCK_SUBABORT_PENDING:
5165-
return"SUB ABRT PEND";
5165+
return"SUBABORT_PENDING";
51665166
caseTBLOCK_SUBRESTART:
5167-
return"SUB RESTART";
5167+
return"SUBRESTART";
51685168
caseTBLOCK_SUBABORT_RESTART:
5169-
return"SUB AB RESTRT";
5169+
return"SUBABORT_RESTART";
51705170
}
51715171
return"UNRECOGNIZED";
51725172
}
@@ -5185,7 +5185,7 @@ TransStateAsString(TransState state)
51855185
caseTRANS_START:
51865186
return"START";
51875187
caseTRANS_INPROGRESS:
5188-
return"INPROGR";
5188+
return"INPROGRESS";
51895189
caseTRANS_COMMIT:
51905190
return"COMMIT";
51915191
caseTRANS_ABORT:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp