On Tue, Jan 13, 2009 at 9:25 AM, Quan Zongliang <quanzongliang(at)gmail(dot)com> wrote:
> Hi, Dave
>
> very simple patch:
>
> pgAdmin3.h
> +const short SERVER_MAX_VERSION = 0x0805;//Exclusive
>
> pgServer.cpp
>
> + if (conn->BackendMinimumVersion(SERVER_MAX_VERSION >> 8, SERVER_MAX_VERSION & 0x00FF))
> + wxMessageBox(_("Connected to newer database using old version pgAdmin, some function could not run properly.\nUpgrade is recommended."));
> +
Without the whole patch it's somewhat tricky to apply :-p
I've manually hacked up something roughly equivalent and committed it.
--
Dave Page
EnterpriseDB UK: http://www.enterprisedb.com