From 37b19e0be216a63ff94c27ef6ce1205f62d2bcf4 Mon Sep 17 00:00:00 2001 From: Akshay Joshi Date: Wed, 25 May 2022 17:43:48 +0530 Subject: [PATCH] Added PG/EPAS 15 and removed 9.6 from the binary path entry in the preferences dialog. --- web/config.py | 6 +++--- web/pgadmin/utils/constants.py | 12 ++++++------ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/web/config.py b/web/config.py index b9f29aa7c..468ee98ae 100644 --- a/web/config.py +++ b/web/config.py @@ -447,19 +447,19 @@ STORAGE_DIR = os.path.join(DATA_DIR, 'storage') ########################################################################## DEFAULT_BINARY_PATHS = { "pg": "", - "pg-9.6": "", "pg-10": "", "pg-11": "", "pg-12": "", "pg-13": "", "pg-14": "", + "pg-15": "", "ppas": "", - "ppas-9.6": "", "ppas-10": "", "ppas-11": "", "ppas-12": "", "ppas-13": "", - "ppas-14": "" + "ppas-14": "", + "ppas-15": "" } ########################################################################## diff --git a/web/pgadmin/utils/constants.py b/web/pgadmin/utils/constants.py index 030327681..427af5feb 100644 --- a/web/pgadmin/utils/constants.py +++ b/web/pgadmin/utils/constants.py @@ -68,9 +68,6 @@ SUPPORTED_AUTH_SOURCES = [INTERNAL, BINARY_PATHS = { "as_bin_paths": [ - {"version": "90600", "next_major_version": "100000", - "serverType": gettext("EDB Advanced Server 9.6"), "binaryPath": None, - "isDefault": False}, {"version": "100000", "next_major_version": "110000", "serverType": gettext("EDB Advanced Server 10"), "binaryPath": None, "isDefault": False}, @@ -85,12 +82,12 @@ BINARY_PATHS = { "isDefault": False}, {"version": "140000", "next_major_version": "150000", "serverType": gettext("EDB Advanced Server 14"), "binaryPath": None, + "isDefault": False}, + {"version": "150000", "next_major_version": "160000", + "serverType": gettext("EDB Advanced Server 15"), "binaryPath": None, "isDefault": False} ], "pg_bin_paths": [ - {"version": "90600", "next_major_version": "100000", - "serverType": gettext("PostgreSQL 9.6"), "binaryPath": None, - "isDefault": False}, {"version": "100000", "next_major_version": "110000", "serverType": gettext("PostgreSQL 10"), "binaryPath": None, "isDefault": False}, @@ -105,6 +102,9 @@ BINARY_PATHS = { "isDefault": False}, {"version": "140000", "next_major_version": "150000", "serverType": gettext("PostgreSQL 14"), "binaryPath": None, + "isDefault": False}, + {"version": "150000", "next_major_version": "160000", + "serverType": gettext("PostgreSQL 15"), "binaryPath": None, "isDefault": False} ] }