mirror of
https://github.com/percona/pg_stat_monitor.git
synced 2026-02-04 14:06:20 +00:00
PG-187: Compilation Error for PostgreSQL 11 and PostgreSQL 12.
This commit is contained in:
@@ -112,6 +112,15 @@ typedef struct GucVariables
|
||||
bool guc_restart;
|
||||
} GucVariable;
|
||||
|
||||
#if PG_VERSION_NUM < 130000
|
||||
typedef struct WalUsage
|
||||
{
|
||||
long wal_records; /* # of WAL records produced */
|
||||
long wal_fpi; /* # of WAL full page images produced */
|
||||
uint64 wal_bytes; /* size of WAL records produced */
|
||||
} WalUsage;
|
||||
#endif
|
||||
|
||||
typedef enum OVERFLOW_TARGET
|
||||
{
|
||||
OVERFLOW_TARGET_NONE = 0,
|
||||
|
||||
Reference in New Issue
Block a user