Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions pg_stat_monitor.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,14 @@ typedef enum pgsmVersion
PGSM_V2_3,
} pgsmVersion;

PG_MODULE_MAGIC;

#define BUILD_VERSION "2.4.0"
Comment thread
jeltz marked this conversation as resolved.

#if PG_VERSION_NUM >= 180000
Comment thread
jeltz marked this conversation as resolved.
PG_MODULE_MAGIC_EXT(.name = "pg_stat_monitor",.version = BUILD_VERSION);
#else
PG_MODULE_MAGIC;
#endif

/* Number of output arguments (columns) for various API versions */
#define PG_STAT_MONITOR_COLS_V1_0 52
#define PG_STAT_MONITOR_COLS_V2_0 64
Expand Down
Loading