Re: pgAdmin crashes on DDL

From: aditsu <aditsu(at)yahoo(dot)com>
To: pgadmin-support(at)postgresql(dot)org
Subject: Re: pgAdmin crashes on DDL
Date: 2013-06-07 08:45:14
Message-ID: 1370594714168-5758265.post@n5.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

aditsu wrote
>
> Dave Page-7 wrote
>> No, I haven't had a chance to look again yet, though it is on my TODO
>> list. I'm not sure what I can do though, as it's pretty clear you're
>> suffering a problem that the rest of us aren't.
> Well, I'd think the backtrace should provide a clear indication of where
> the problem is.

Oh well, if you want something done, you have to do it yourself.

--- frmQuery.cpp 2012-11-08 23:22:01.000000000 +0800
+++ frmQuery1.cpp 2013-06-07 15:39:14.453599679 +0800
@@ -1451,7 +1451,7 @@

if (allowUpdateModelSize)
{
- canSaveGQB = controller->getView()->canSaveAsImage();
+ canSaveGQB = controller->getView() != NULL &&
controller->getView()->canSaveAsImage();
}

toolBar->EnableTool(MNU_UNDO, canUndo);

Solves world hunger, Middle East conflict and the constant pgadmin crashes.
(or at least one of the above)

--
View this message in context: http://postgresql.1045698.n5.nabble.com/pgAdmin-crashes-on-DDL-tp5754991p5758265.html
Sent from the PostgreSQL - pgadmin support mailing list archive at Nabble.com.

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Dave Page 2013-06-07 10:58:36 Re: pgAdmin crashes on DDL
Previous Message aditsu 2013-06-06 11:14:57 Re: pgAdmin crashes on DDL