Re: pgAdmin crashes on DDL

Поиск
Список
Период
Сортировка
От aditsu
Тема Re: pgAdmin crashes on DDL
Дата
Msg-id 1370594714168-5758265.post@n5.nabble.com
обсуждение исходный текст
Ответ на Re: pgAdmin crashes on DDL  (aditsu <aditsu@yahoo.com>)
Ответы Re: pgAdmin crashes on DDL  (Dave Page <dpage@pgadmin.org>)
Список 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.



В списке pgadmin-support по дате отправления:

Предыдущее
От: aditsu
Дата:
Сообщение: Re: pgAdmin crashes on DDL
Следующее
От: Dave Page
Дата:
Сообщение: Re: pgAdmin crashes on DDL