Re: Drop schema/Create new schema SIGSEGV - pgadmin3 git version - Mailing list pgadmin-support

From Guillaume Lelarge
Subject Re: Drop schema/Create new schema SIGSEGV - pgadmin3 git version
Date
Msg-id 1327352914.2286.26.camel@localhost.localdomain
Whole thread Raw
In response to Re: Drop schema/Create new schema SIGSEGV - pgadmin3 git version  (Guillaume Lelarge <guillaume@lelarge.info>)
List pgadmin-support
On Thu, 2012-01-12 at 23:35 +0100, Guillaume Lelarge wrote:
> On Thu, 2012-01-12 at 18:29 +0100, Vladimir Kokovic wrote:
> > Hi,
> > 
> > If I try to drop or create new schema 'Program received signal
> > SIGSEGV, Segmentation fault' happened.
> > 
> > Problem is in the line 51 of pgadmin3/pgadmin/ctl/ctlDefaultSecurityPanel.cpp.
> > 
> > Should be: if (conn && conn->BackendMinimumVersion(9, 2))
> > 
> 
> Nope. This will simply not display the tab, and we don't want that.
> There is a bug to fix, but that's not the good way to fix it: we want to
> keep the tab. So, we need to understand why conn isn't available at this
> time.
> 
> But thanks for your report.
> 

Fixed. We handle this the same way than with dlgDatabase. IOW, we don't
display the tab if we don't have the node. Kind of like you did but in
another way.

It would need a major refactor to do otherwise.


-- 
Guillaume
http://blog.guillaume.lelarge.info
http://www.dalibo.com
PostgreSQL Sessions #3: http://www.postgresql-sessions.org



pgadmin-support by date:

Previous
From: Guillaume Lelarge
Date:
Subject: Re: column level privilages error
Next
From: Tim Uckun
Date:
Subject: MacOSX and pg_service