summaryrefslogtreecommitdiff
path: root/databases/pgadmin3/files/patch-pgversion
diff options
context:
space:
mode:
authorMax Khon <fjoe@FreeBSD.org>2019-12-09 09:29:12 +0000
committerMax Khon <fjoe@FreeBSD.org>2019-12-09 09:29:12 +0000
commit7cabf087a292e02761c591301097faeb0808069b (patch)
tree1e229e8735dd4d60352f6789f1749ed2bb0daa70 /databases/pgadmin3/files/patch-pgversion
parentsysutils/hatop: Switch to Python 3.6+ (diff)
- 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]
Notes
Notes: svn path=/head/; revision=519598
Diffstat (limited to 'databases/pgadmin3/files/patch-pgversion')
-rw-r--r--databases/pgadmin3/files/patch-pgversion13
1 files changed, 13 insertions, 0 deletions
diff --git a/databases/pgadmin3/files/patch-pgversion b/databases/pgadmin3/files/patch-pgversion
new file mode 100644
index 000000000000..dabe2915e7ef
--- /dev/null
+++ b/databases/pgadmin3/files/patch-pgversion
@@ -0,0 +1,13 @@
+--- 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;