mirror of
https://github.com/percona/pg_stat_monitor.git
synced 2026-02-04 05:56:21 +00:00
PG-1907 Use macro to define the number of enum values
This commet address refactoring made in PostgreSQL codebase in commit 10b7218.
This commit is contained in:
committed by
Artem Gavrilov
parent
bd0546b7c9
commit
8f7868f73e
@@ -152,10 +152,10 @@ typedef enum pgsmStoreKind
|
||||
PGSM_EXEC,
|
||||
PGSM_STORE,
|
||||
PGSM_ERROR,
|
||||
|
||||
PGSM_NUMKIND /* Must be last value of this enum */
|
||||
} pgsmStoreKind;
|
||||
|
||||
#define PGSM_NUMKIND (PGSM_ERROR + 1)
|
||||
|
||||
/* the assumption of query max nested level */
|
||||
#define DEFAULT_MAX_NESTED_LEVEL 10
|
||||
|
||||
|
||||
Reference in New Issue
Block a user