diff options
author | Andres Freund <andres@anarazel.de> | 2016-04-14 18:54:06 -0700 |
---|---|---|
committer | Andres Freund <andres@anarazel.de> | 2016-04-14 19:25:41 -0700 |
commit | 593f469a048f1479d19579a06ec32cce9ddfa190 (patch) | |
tree | 7a765edaad315164cc22f2bae714b2755f977a27 | |
parent | e7a456174b2eca37b141952b6f7ef4254887f819 (diff) | |
download | postgresql-593f469a048f1479d19579a06ec32cce9ddfa190.tar.gz postgresql-593f469a048f1479d19579a06ec32cce9ddfa190.zip |
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.
-rw-r--r-- | src/backend/executor/execIndexing.c | 2 | ||||
-rw-r--r-- | src/include/access/xlog_internal.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/executor/execIndexing.c b/src/backend/executor/execIndexing.c index 1b549811e67..645e76b4899 100644 --- a/src/backend/executor/execIndexing.c +++ b/src/backend/executor/execIndexing.c @@ -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, diff --git a/src/include/access/xlog_internal.h b/src/include/access/xlog_internal.h index 5096c170dd2..e9bf51646a2 100644 --- a/src/include/access/xlog_internal.h +++ b/src/include/access/xlog_internal.h @@ -252,7 +252,7 @@ typedef enum { RECOVERY_TARGET_ACTION_PAUSE, RECOVERY_TARGET_ACTION_PROMOTE, - RECOVERY_TARGET_ACTION_SHUTDOWN, + RECOVERY_TARGET_ACTION_SHUTDOWN } RecoveryTargetAction; /* |