SVN Commit by andreas: r4285 - in trunk/pgadmin3/src: db include
От | svn@pgadmin.org |
---|---|
Тема | SVN Commit by andreas: r4285 - in trunk/pgadmin3/src: db include |
Дата | |
Msg-id | 200506071823.j57INnVR023875@developer.pgadmin.org обсуждение исходный текст |
Список | 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];
В списке pgadmin-hackers по дате отправления: