pgadmin3 is unsupported upstream and doesn't officially support postgresql above 9.5, but pgadmin4 is a whole different monster, so keep this one on life support. Tested against 10.5. (note that there's a 1.22.2 release upstream) Patch taken from https://bugs.debian.org/878295 ok sthen@ pea@ (MAINTAINER), also tested by Stefan Wollny
19 lines
781 B
Plaintext
19 lines
781 B
Plaintext
$OpenBSD: patch-pgadmin_include_pgAdmin3_h,v 1.1 2018/10/25 07:32:44 landry Exp $
|
|
|
|
adapted from https://bugs.debian.org/cgi-bin/bugreport.cgi?att=1;bug=878295;filename=postgresql_10.x_support.patch;msg=3
|
|
|
|
Index: pgadmin/include/pgAdmin3.h
|
|
--- pgadmin/include/pgAdmin3.h.orig
|
|
+++ 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 = 0x0905;
|
|
-const wxString SERVER_MAX_VERSION_T = wxT("9.5");
|
|
+const short SERVER_MAX_VERSION_N = 0x0B00;
|
|
+const wxString SERVER_MAX_VERSION_T = wxT("11.0");
|
|
|
|
// Supported Greenplum Database and Greenplum HAWQ minimum and maximum values.
|
|
const short GP_MIN_VERSION_N = 0x0802;
|