Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtjoms Rimdjonoks <artjoms.rimdjonoks@zabbix.com>2021-02-24 16:46:40 +0300
committerArtjoms Rimdjonoks <artjoms.rimdjonoks@zabbix.com>2021-02-26 11:49:07 +0300
commit33783289cab49fc982b424b7b03c9efa0bf5fc3f (patch)
tree969f6fbc2dbb7501019ab30c9ca042df883fb0d0 /include/zbxdb.h
parentd88f2134e60aa1bb8daba26418722445de4bf46d (diff)
parent4007c195409e274001ff4caf7de052028c8c2b87 (diff)
........S. [DEV-1836] updated to the master
Diffstat (limited to 'include/zbxdb.h')
-rw-r--r--include/zbxdb.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/zbxdb.h b/include/zbxdb.h
index 2ffb123ad4d..95a57b59d4a 100644
--- a/include/zbxdb.h
+++ b/include/zbxdb.h
@@ -103,7 +103,13 @@ void zbx_dbms_extract_version(void);
int zbx_dbms_mariadb_used(void);
#endif
+#ifdef HAVE_POSTGRESQL
+int zbx_tsdb_get_version(void);
+#define ZBX_DB_TSDB_V1 (20000 > zbx_tsdb_get_version())
+#endif
+
#ifdef HAVE_ORACLE
+
/* context for dynamic parameter binding */
typedef struct
{