PG-187: Compilation Error for PostgreSQL 11 and PostgreSQL 12.

This commit is contained in:
Ibrar Ahmed
2021-03-17 20:42:58 +05:00
parent e0fc683810
commit 96a7603aae
4 changed files with 31 additions and 55 deletions

View File

@@ -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,