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

Commit533cd23

Browse files
committed
Remove trailing commas in enums.
These aren't valid C89. Found thanks to gcc's -Wc90-c99-compat. Theseexist in differing places in most supported branches.
1 parent7b16781 commit533cd23

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

‎src/backend/executor/execIndexing.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ typedef enum
119119
{
120120
CEOUC_WAIT,
121121
CEOUC_NOWAIT,
122-
CEOUC_LIVELOCK_PREVENTING_WAIT,
122+
CEOUC_LIVELOCK_PREVENTING_WAIT
123123
}CEOUC_WAIT_MODE;
124124

125125
staticboolcheck_exclusion_or_unique_constraint(Relationheap,Relationindex,

‎src/include/access/xlog_internal.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ typedef enum
252252
{
253253
RECOVERY_TARGET_ACTION_PAUSE,
254254
RECOVERY_TARGET_ACTION_PROMOTE,
255-
RECOVERY_TARGET_ACTION_SHUTDOWN,
255+
RECOVERY_TARGET_ACTION_SHUTDOWN
256256
}RecoveryTargetAction;
257257

258258
/*

‎src/include/pgstat.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -718,7 +718,7 @@ typedef enum WaitClass
718718
typedefenumProgressCommandType
719719
{
720720
PROGRESS_COMMAND_INVALID,
721-
PROGRESS_COMMAND_VACUUM,
721+
PROGRESS_COMMAND_VACUUM
722722
}ProgressCommandType;
723723

724724
#definePGSTAT_NUM_PROGRESS_PARAM10

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp