aboutsummaryrefslogtreecommitdiff
path: root/src/include/storage/procsignal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/storage/procsignal.h')
-rw-r--r--src/include/storage/procsignal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/storage/procsignal.h b/src/include/storage/procsignal.h
index f94c11a9a84..221073def38 100644
--- a/src/include/storage/procsignal.h
+++ b/src/include/storage/procsignal.h
@@ -47,10 +47,10 @@ typedef enum
PROCSIG_RECOVERY_CONFLICT_BUFFERPIN,
PROCSIG_RECOVERY_CONFLICT_STARTUP_DEADLOCK,
PROCSIG_RECOVERY_CONFLICT_LAST = PROCSIG_RECOVERY_CONFLICT_STARTUP_DEADLOCK,
-
- NUM_PROCSIGNALS /* Must be last! */
} ProcSignalReason;
+#define NUM_PROCSIGNALS (PROCSIG_RECOVERY_CONFLICT_LAST + 1)
+
typedef enum
{
PROCSIGNAL_BARRIER_SMGRRELEASE, /* ask smgr to close files */