Remove trailing commas in enums.
authorAndres Freund <[email protected]>
Fri, 15 Apr 2016 01:54:06 +0000 (18:54 -0700)
committerAndres Freund <[email protected]>
Fri, 15 Apr 2016 02:25:41 +0000 (19:25 -0700)
These aren't valid C89. Found thanks to gcc's -Wc90-c99-compat. These
exist in differing places in most supported branches.

src/backend/executor/execIndexing.c
src/include/access/xlog_internal.h

index 1b549811e670749281c81ffcbf32f9c9ce497b44..645e76b48994c0de6c6e3d3a996399fe7ef6f3dc 100644 (file)
@@ -119,7 +119,7 @@ typedef enum
 {
    CEOUC_WAIT,
    CEOUC_NOWAIT,
-   CEOUC_LIVELOCK_PREVENTING_WAIT,
+   CEOUC_LIVELOCK_PREVENTING_WAIT
 } CEOUC_WAIT_MODE;
 
 static bool check_exclusion_or_unique_constraint(Relation heap, Relation index,
index 5096c170dd2e60ff18420614c50ee17d5b09b796..e9bf51646a2fc7809890f7a8767410cf9c9c856e 100644 (file)
@@ -252,7 +252,7 @@ typedef enum
 {
    RECOVERY_TARGET_ACTION_PAUSE,
    RECOVERY_TARGET_ACTION_PROMOTE,
-   RECOVERY_TARGET_ACTION_SHUTDOWN,
+   RECOVERY_TARGET_ACTION_SHUTDOWN
 } RecoveryTargetAction;
 
 /*