Commit 533cd230 authored by Andres Freund's avatar Andres Freund

Remove trailing commas in enums.

These aren't valid C89. Found thanks to gcc's -Wc90-c99-compat. These
exist in differing places in most supported branches.
parent 7b167812
...@@ -119,7 +119,7 @@ typedef enum ...@@ -119,7 +119,7 @@ typedef enum
{ {
CEOUC_WAIT, CEOUC_WAIT,
CEOUC_NOWAIT, CEOUC_NOWAIT,
CEOUC_LIVELOCK_PREVENTING_WAIT, CEOUC_LIVELOCK_PREVENTING_WAIT
} CEOUC_WAIT_MODE; } CEOUC_WAIT_MODE;
static bool check_exclusion_or_unique_constraint(Relation heap, Relation index, static bool check_exclusion_or_unique_constraint(Relation heap, Relation index,
......
...@@ -252,7 +252,7 @@ typedef enum ...@@ -252,7 +252,7 @@ typedef enum
{ {
RECOVERY_TARGET_ACTION_PAUSE, RECOVERY_TARGET_ACTION_PAUSE,
RECOVERY_TARGET_ACTION_PROMOTE, RECOVERY_TARGET_ACTION_PROMOTE,
RECOVERY_TARGET_ACTION_SHUTDOWN, RECOVERY_TARGET_ACTION_SHUTDOWN
} RecoveryTargetAction; } RecoveryTargetAction;
/* /*
......
...@@ -718,7 +718,7 @@ typedef enum WaitClass ...@@ -718,7 +718,7 @@ typedef enum WaitClass
typedef enum ProgressCommandType typedef enum ProgressCommandType
{ {
PROGRESS_COMMAND_INVALID, PROGRESS_COMMAND_INVALID,
PROGRESS_COMMAND_VACUUM, PROGRESS_COMMAND_VACUUM
} ProgressCommandType; } ProgressCommandType;
#define PGSTAT_NUM_PROGRESS_PARAM 10 #define PGSTAT_NUM_PROGRESS_PARAM 10
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment