Yo, realized that this one was lagging behind, even if according to git 1.22 is at alpha2, seems 1.20 starts fine here and connects to a test db.
Landry
Index: Makefile =================================================================== RCS file: /cvs/ports/databases/pgadmin3/Makefile,v retrieving revision 1.31 diff -u -r1.31 Makefile --- Makefile 23 Jun 2015 07:26:21 -0000 1.31 +++ Makefile 24 Aug 2015 16:01:38 -0000 @@ -2,8 +2,7 @@ COMMENT= administration and development platform for PostgreSQL -V= 1.18.1 -REVISION= 1 +V= 1.20.0 DISTNAME= pgadmin3-$V CATEGORIES= databases devel Index: distinfo =================================================================== RCS file: /cvs/ports/databases/pgadmin3/distinfo,v retrieving revision 1.17 diff -u -r1.17 distinfo --- distinfo 19 Apr 2014 21:03:58 -0000 1.17 +++ distinfo 24 Aug 2015 16:01:38 -0000 @@ -1,2 +1,2 @@ -SHA256 (pgadmin3-1.18.1.tar.gz) = J6w+KWpso9qdqO4i7Zjqv+E3e+UHh3/8JgSPwqnGy8A= -SIZE (pgadmin3-1.18.1.tar.gz) = 14265392 +SHA256 (pgadmin3-1.20.0.tar.gz) = B3PXgmqcepmMSHLpsAuZjgu7EESJhNZoU0IMlfpia4w= +SIZE (pgadmin3-1.20.0.tar.gz) = 14394997 Index: patches/patch-pgadmin_frm_events_cpp =================================================================== RCS file: /cvs/ports/databases/pgadmin3/patches/patch-pgadmin_frm_events_cpp,v retrieving revision 1.1 diff -u -r1.1 patch-pgadmin_frm_events_cpp --- patches/patch-pgadmin_frm_events_cpp 24 Oct 2014 15:01:18 -0000 1.1 +++ patches/patch-pgadmin_frm_events_cpp 24 Aug 2015 16:01:38 -0000 @@ -1,6 +1,6 @@ $OpenBSD: patch-pgadmin_frm_events_cpp,v 1.1 2014/10/24 15:01:18 dcoppa Exp $ ---- pgadmin/frm/events.cpp.orig Fri Sep 27 16:51:46 2013 -+++ pgadmin/frm/events.cpp Thu Oct 23 12:46:41 2014 +--- pgadmin/frm/events.cpp.orig Fri May 30 12:42:41 2014 ++++ pgadmin/frm/events.cpp Mon Aug 24 17:37:18 2015 @@ -41,7 +41,7 @@ // Mutex to protect the "currentObject" from race conditions. @@ -14,11 +14,10 @@ // // Lock the assignment to prevent the race conditions between onSelRightClick and execSelChange. // -- s_currentObjectMutex.Lock(); -- currentObject = browser->GetObject(item); -- s_currentObjectMutex.Unlock(); +- s_currentObjectMutex.Lock(); + currentObjectMutex->Lock(); -+ currentObject = browser->GetObject(item); + currentObject = browser->GetObject(item); +- s_currentObjectMutex.Unlock(); + currentObjectMutex->Unlock(); // If we didn't get an object, then we may have a right click, or Index: patches/patch-pgadmin_frm_frmQuery_cpp =================================================================== RCS file: patches/patch-pgadmin_frm_frmQuery_cpp diff -N patches/patch-pgadmin_frm_frmQuery_cpp --- patches/patch-pgadmin_frm_frmQuery_cpp 24 Oct 2014 15:01:18 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,30 +0,0 @@ -$OpenBSD: patch-pgadmin_frm_frmQuery_cpp,v 1.1 2014/10/24 15:01:18 dcoppa Exp $ - -commit f656072300b3a2736fafff0093223793ca4dd9ad -Author: Dmitriy Olshevskiy <olshevski...@bk.ru> -Date: Sat Aug 9 17:15:45 2014 +0200 - -Prevent a crash during the update of the macro or favourite list - ---- pgadmin/frm/frmQuery.cpp.orig Wed Sep 11 14:33:57 2013 -+++ pgadmin/frm/frmQuery.cpp Thu Oct 23 09:12:29 2014 -@@ -1485,6 +1485,9 @@ void frmQuery::updateMenu(bool allowUpdateModelSize) - - void frmQuery::UpdateFavouritesList() - { -+ if (IsVisible() && menuBar->FindMenu(_("Fav&ourites")) == wxNOT_FOUND) -+ return; -+ - if (favourites) - delete favourites; - -@@ -1501,6 +1504,9 @@ void frmQuery::UpdateFavouritesList() - - void frmQuery::UpdateMacrosList() - { -+ if (IsVisible() && menuBar->FindMenu(_("&Macros")) == wxNOT_FOUND) -+ return; -+ - if (macros) - delete macros; -