File 0003-postgresql-8.3-support.patch of Package pgadmin3
--- a/pgadmin/schema/pgColumn.cpp 2018-02-27 12:59:42.871950867 +0100
+++ b/pgadmin/schema/pgColumn.cpp 2018-02-27 13:00:15.491784358 +0100
@@ -568,7 +568,7 @@
// grab inherited tables with attibute names
pgSet *inhtables = database->ExecuteSet(
wxT("SELECT\n")
- wxT(" array_to_string(array_agg(inhrelname), ', ') inhrelname,\n")
+ wxT(" array_to_string(array_agg(inhrelname), ', ') AS inhrelname,\n")
wxT(" attrname\n")
wxT("FROM\n")
wxT(" (SELECT\n")
--- a/pgadmin/schema/pgFunction.cpp 2018-02-27 13:10:04.000000000 +0100
+++ b/pgadmin/schema/pgFunction.cpp 2018-02-27 13:10:39.733120796 +0100
@@ -660,7 +660,7 @@
}
pgSet *functions;
- if (obj->GetConnection()->GetIsGreenplum())
+ if (obj->GetConnection()->GetIsGreenplum() || !obj->GetConnection()->BackendMinimumVersion(9, 0))
{
// the Open Source version of Greenplum already has the pg_get_function_result() function,
// however the 4.3 stable release does not have this function