opnsense-ports/databases/pgadmin3/files/patch-pgversion
Franco Fichtner 7bdaedf900 */*: sync with upstream
Taken from: HardenedBSD
2019-12-10 12:57:03 +01:00

13 lines
589 B
Text

--- pgadmin/include/pgAdmin3.h
+++ pgadmin/include/pgAdmin3.h
@@ -58,8 +58,8 @@
// Supported server minimum and maximum values.
const short SERVER_MIN_VERSION_N = 0x0804;
const wxString SERVER_MIN_VERSION_T = wxT("8.4");
-const short SERVER_MAX_VERSION_N = 0x0906;
-const wxString SERVER_MAX_VERSION_T = wxT("9.6");
+const short SERVER_MAX_VERSION_N = 0x7FFF; /* Don't check for maximally supported PG version. */
+const wxString SERVER_MAX_VERSION_T = wxT("99");
// Supported Greenplum Database and Greenplum HAWQ minimum and maximum values.
const short GP_MIN_VERSION_N = 0x0802;