View Single Post

   
  #3 (permalink)  
Old 04-17-2008, 05:28 PM
Tomasz Rybak
 
Posts: n/a
Default Re: pgAdmin3 svn 4409 on Debian - segfault

Dnia 21-08-2005, nie o godzinie 17:26 +0000, Andreas Pflug napisał(a):
> Tomasz Rybak wrote:
> > Hello.
> > I've downloaded pgAdmin3 from trunk 4409.

>
> Use the latest (4412); there was a major problem with wxgtk in a
> previous version.



OK. After changing factory.cpp, pgAdmin3 works.
Even Slony-I is visible.

tomus@barad-dur:~/Zrodla/admin$ svn diff src/base/factory.cpp
Index: src/base/factory.cpp
================================================== =================
--- src/base/factory.cpp (wersja 4412)
+++ src/base/factory.cpp (kopia robocza)
@@ -289,7 +289,11 @@

actionFactory::actionFactory(menuFactoryList *list) : menuFactory(list)
{
+ if (list){
id = list->GetCount()+MNU_ACTION -1;
+ } else {
+ id = 0;
+ }
context=false;
}


Best regards.
Tomasz



---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

http://archives.postgresql.org

Reply With Quote