From cec11a836f638c630e8884d6f6aba0e4c9a289f6 Mon Sep 17 00:00:00 2001
From: Marcel Telka <marcel@telka.sk>
Date: Tue, 13 Sep 2022 19:00:07 +0200
Subject: [PATCH] Default DB version should be the newest one

---
 make-rules/shared-macros.mk |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/make-rules/shared-macros.mk b/make-rules/shared-macros.mk
index 950194b..740cd63 100644
--- a/make-rules/shared-macros.mk
+++ b/make-rules/shared-macros.mk
@@ -818,8 +818,10 @@
 PKG_MACROS +=   PERL_VERSION=$(PERL_VERSION)
 
 # Config magic for Postgres/EnterpriseDB/...
-# Default DB version is the oldest one, for hopefully best built complatibility
-PG_VERSION ?=   12
+# Default DB version should be the newest one we do have so we detect any
+# incompatibilities as soon as possible.  Components could override this when
+# they are not ready yet to compile with so new version.
+PG_VERSION ?=   14
 PG_IMPLEM ?=    postgres
 PG_VERNUM =     $(subst .,,$(PG_VERSION))
 # For dependencies, including REQUIRED_PACKAGES if needed
@@ -850,10 +852,12 @@
 PKG_MACROS +=   PG_BASEPKG=$(PG_BASEPKG)
 
 # Config magic for MySQL/MariaDB/Percona/...
-# Default DB version is the oldest one, for hopefully best built compatibility
+# Default DB version should be the newest one we do have so we detect any
+# incompatibilities as soon as possible.  Components could override this when
+# they are not ready yet to compile with so new version.
 # NOTE: At this time the gate does not provide a recipe for actual "mysql"
 # The "/usr/mysql/*" trees are mediated to preferred MariaDB or Percona variant
-MYSQL_VERSION ?=   10.1
+MYSQL_VERSION ?=   10.6
 MYSQL_IMPLEM ?=    mariadb
 MYSQL_VERNUM =     $(subst .,,$(MYSQL_VERSION))
 # For dependencies, including REQUIRED_PACKAGES if needed

--
Gitblit v1.9.3