Skip to content

Commit 533cd23

Browse files
committed
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.
1 parent 7b16781 commit 533cd23

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
static bool check_exclusion_or_unique_constraint(Relation heap, Relation index,

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
typedef enum ProgressCommandType
719719
{
720720
PROGRESS_COMMAND_INVALID,
721-
PROGRESS_COMMAND_VACUUM,
721+
PROGRESS_COMMAND_VACUUM
722722
} ProgressCommandType;
723723

724724
#define PGSTAT_NUM_PROGRESS_PARAM 10

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy