Skip site navigation (1) Skip section navigation (2)

Re: pgAdmin3 svn 4409 on Debian - segfault

From: Tomasz Rybak <bogomips(at)post(dot)pl>
To: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>
Cc: pgAdmin Hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: pgAdmin3 svn 4409 on Debian - segfault
Date: 2005-08-21 21:08:57
Message-ID: 1124658537.4626.14.camel@localhost.localdomain (view raw or flat)
Thread:
Lists: pgadmin-hackers
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(at)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



In response to

Responses

pgadmin-hackers by date

Next:From: Andreas PflugDate: 2005-08-21 23:20:32
Subject: Re: Splash screen
Previous:From: Tomasz RybakDate: 2005-08-21 20:47:08
Subject: Re: pgAdmin3 svn 4409 on Debian - segfault

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group