/* ** Copyright (C) 2001-2025 Zabbix SIA ** ** This program is free software: you can redistribute it and/or modify it under the terms of ** the GNU Affero General Public License as published by the Free Software Foundation, version 3. ** ** This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; ** without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ** See the GNU Affero General Public License for more details. ** ** You should have received a copy of the GNU Affero General Public License along with this program. ** If not, see . **/ #ifndef ZABBIX_ZBX_DBVERSION_CONSTANTS_H #define ZABBIX_ZBX_DBVERSION_CONSTANTS_H #define ZBX_DBVERSION_UNDEFINED 0 /* ZBX_*_MIN_VERSION - hard limit */ /* ZBX_*_MIN_SUPPORTED_VERSION - soft limit */ /* ZBX_*_MAX_VERSION - soft limit */ #define ZBX_MYSQL_MIN_VERSION 80042 #define ZBX_MYSQL_MIN_VERSION_STR "8.00.42" #define ZBX_MYSQL_MIN_SUPPORTED_VERSION 80400 #define ZBX_MYSQL_MIN_SUPPORTED_VERSION_STR "8.04.00" #define ZBX_MYSQL_MAX_VERSION 90099 #define ZBX_MYSQL_MAX_VERSION_STR "9.00.x" #define ZBX_MARIADB_MIN_VERSION 100500 #define ZBX_MARIADB_MIN_VERSION_STR "10.05.00" #define ZBX_MARIADB_MIN_SUPPORTED_VERSION 101100 #define ZBX_MARIADB_MIN_SUPPORTED_VERSION_STR "10.11.00" #define ZBX_MARIADB_MAX_VERSION 120099 #define ZBX_MARIADB_MAX_VERSION_STR "12.00.xx" #define ZBX_POSTGRESQL_MIN_VERSION 130000 #define ZBX_POSTGRESQL_MIN_VERSION_STR "13.0" #define ZBX_POSTGRESQL_MIN_SUPPORTED_VERSION 150000 #define ZBX_POSTGRESQL_MIN_SUPPORTED_VERSION_STR "15.0" #define ZBX_POSTGRESQL_MAX_VERSION 179999 #define ZBX_POSTGRESQL_MAX_VERSION_STR "17.x" #define ZBX_ELASTIC_MIN_VERSION 70000 #define ZBX_ELASTIC_MIN_VERSION_STR "7.x" #define ZBX_ELASTIC_MAX_VERSION 89999 #define ZBX_ELASTIC_MAX_VERSION_STR "8.x" #define ZBX_TIMESCALE_MIN_VERSION 20001 #define ZBX_TIMESCALE_MIN_VERSION_STR "2.0.1" #define ZBX_TIMESCALE_MIN_SUPPORTED_VERSION 22000 #define ZBX_TIMESCALE_MIN_SUPPORTED_VERSION_STR "2.20.0" #define ZBX_TIMESCALE_MAX_VERSION 22199 #define ZBX_TIMESCALE_MAX_VERSION_STR "2.21" #define ZBX_TIMESCALE_LICENSE_APACHE_STR "TimescaleDB Apache 2 Edition" #define ZBX_TIMESCALE_LICENSE_COMMUNITY "timescale" #define ZBX_TIMESCALE_LICENSE_COMMUNITY_STR "TimescaleDB Community Edition" #endif /*ZABBIX_ZBX_DBVERSION_CONSTANTS_H*/