Ensure that pgAdmin 4 is compatible with PG/EPAS v18. #8828

pull/8939/head
Akshay Joshi 2025-07-08 18:34:39 +05:30
parent 454ba52c88
commit e4f17e5a6c
6 changed files with 18 additions and 6 deletions

View File

@ -25,7 +25,9 @@ New features
Housekeeping
************
| `Issue #8828 <https://github.com/pgadmin-org/pgadmin4/issues/8828>`_ - Ensure that pgAdmin 4 is compatible with PG/EPAS v18.
Bug fixes
*********
| `Issue #8914 <https://github.com/pgadmin-org/pgadmin4/issues/8914>`_ - Update zstd library link to 1.5.7 in Dockerfile.

View File

@ -465,12 +465,14 @@ DEFAULT_BINARY_PATHS = {
"pg-15": "",
"pg-16": "",
"pg-17": "",
"pg-18": "",
"ppas": "",
"ppas-13": "",
"ppas-14": "",
"ppas-15": "",
"ppas-16": "",
"ppas-17": ""
"ppas-17": "",
"ppas-18": ""
}
##########################################################################
@ -485,12 +487,14 @@ FIXED_BINARY_PATHS = {
"pg-15": "",
"pg-16": "",
"pg-17": "",
"pg-18": "",
"ppas": "",
"ppas-13": "",
"ppas-14": "",
"ppas-15": "",
"ppas-16": "",
"ppas-17": ""
"ppas-17": "",
"ppas-18": ""
}
##########################################################################

View File

@ -5,5 +5,5 @@ SELECT
FROM
pg_catalog.pg_constraint
WHERE
conrelid={{foid}}::oid
conrelid={{foid}}::oid AND contype != 'n'
ORDER by conname;

View File

@ -119,7 +119,7 @@ class BackupJobTest(BaseTestGenerator):
expected_cmd_opts=['--verbose', '--format=c',
'--large-objects'],
not_expected_cmd_opts=[],
expected_exit_code=[1]
expected_exit_code=[0, 1]
),
message='--large-objects is not supported by EPAS/PG server '
'less than 16'

View File

@ -94,6 +94,9 @@ BINARY_PATHS = {
"isDefault": False},
{"version": "170000", "next_major_version": "180000",
"serverType": gettext("EDB Advanced Server 17"), "binaryPath": None,
"isDefault": False},
{"version": "180000", "next_major_version": "190000",
"serverType": gettext("EDB Advanced Server 18"), "binaryPath": None,
"isDefault": False}
],
"pg_bin_paths": [
@ -111,6 +114,9 @@ BINARY_PATHS = {
"isDefault": False},
{"version": "170000", "next_major_version": "180000",
"serverType": gettext("PostgreSQL 17"), "binaryPath": None,
"isDefault": False},
{"version": "180000", "next_major_version": "190000",
"serverType": gettext("PostgreSQL 18"), "binaryPath": None,
"isDefault": False}
]
}

View File

@ -272,8 +272,8 @@ class PGUtilitiesBackupFeatureTest(BaseFeatureTest):
default_binary_path = self.server['default_binary_paths']
if default_binary_path is not None:
def get_server_version_string():
server_version = {170000: '17', 160000: '16', 150000: '15',
140000: '14', 130000: '13'}
server_version = {180000: '18', 170000: '17', 160000: '16',
150000: '15', 140000: '14', 130000: '13'}
for k, v in server_version.items():
if k <= self.server_information['server_version']:
return v