freebsd-ports/databases/pgadmin3/files/patch-pgversion
Max Khon 7cabf087a2 - Add support for PostgreSQL 10 [1]
- Add support for PostgreSQL 11 [2]
- Fix query tool window crash [2]
- Bump PORTREVISION

PR:		236572, 238135
Submitted by:	kirill@ironlogic.ru [2]
Obtained from:	Debian [1]
2019-12-09 09:29:12 +00: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;