From 5c5772f449a33673bb85df6ce58ae6573e8c0cc8 Mon Sep 17 00:00:00 2001 From: Joe Rafaniello Date: Thu, 13 Jun 2024 16:02:00 -0400 Subject: [PATCH] Postgres 13 is the absolute minimum with Radjabov If developers want to play with 14-16, allow it. --- config/initializers/postgres_required_versions.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/initializers/postgres_required_versions.rb b/config/initializers/postgres_required_versions.rb index 85310437000..c023a5c9c90 100644 --- a/config/initializers/postgres_required_versions.rb +++ b/config/initializers/postgres_required_versions.rb @@ -7,11 +7,11 @@ def initialize(*args) def check_version msg = "The version of PostgreSQL being connected to (#{postgresql_version}) is incompatible with #{Vmdb::Appliance.PRODUCT_NAME} (130000 / 13 required)" - if postgresql_version < 10_00_00 + if postgresql_version < 13_00_00 raise msg end - if postgresql_version >= 14_00_00 + if postgresql_version >= 17_00_00 $stderr.puts msg end end