SVN Commit by andreas: r4285 - in trunk/pgadmin3/src: db include

From: svn(at)pgadmin(dot)org
To: pgadmin-hackers(at)postgresql(dot)org
Subject: SVN Commit by andreas: r4285 - in trunk/pgadmin3/src: db include
Date: 2005-06-07 18:23:49
Message-ID: 200506071823.j57INnVR023875@developer.pgadmin.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Author: andreas
Date: 2005-06-07 19:23:49 +0100 (Tue, 07 Jun 2005)
New Revision: 4285

Modified:
trunk/pgadmin3/src/db/pgConn.cpp
trunk/pgadmin3/src/include/pgConn.h
Log:
correctly identify EDB

Modified: trunk/pgadmin3/src/db/pgConn.cpp
===================================================================
--- trunk/pgadmin3/src/db/pgConn.cpp 2005-06-07 15:56:14 UTC (rev 4284)
+++ trunk/pgadmin3/src/db/pgConn.cpp 2005-06-07 18:23:49 UTC (rev 4285)
@@ -48,6 +48,15 @@
majorVersion=0;
}

+
+bool pgConn::GetIsEdb()
+{
+ // to retrieve edb flag
+ BackendMinimumVersion(0,0);
+ return isEdb;
+}
+
+
wxString pgConn::SystemNamespaceRestriction(const wxString &nsp)
{
if (reservedNamespaces.IsEmpty())

Modified: trunk/pgadmin3/src/include/pgConn.h
===================================================================
--- trunk/pgadmin3/src/include/pgConn.h 2005-06-07 15:56:14 UTC (rev 4284)
+++ trunk/pgadmin3/src/include/pgConn.h 2005-06-07 18:23:49 UTC (rev 4285)
@@ -38,7 +38,7 @@
wxString SystemNamespaceRestriction(const wxString &nsp);
int GetMajorVersion() const { return majorVersion; }
int GetMinorVersion() const { return minorVersion; }
- bool GetIsEdb() const { return isEdb; }
+ bool GetIsEdb();

private:
bool features[32];

Browse pgadmin-hackers by date

  From Date Subject
Next Message Andreas Pflug 2005-06-07 18:25:59 Re: sys column error
Previous Message Miha Radej 2005-06-07 17:15:05 Re: SQL icon for objects is broken