"set schema" patch

Поиск
Список
Период
Сортировка
От Guillaume Lelarge
Тема "set schema" patch
Дата
Msg-id 47750EEF.5030904@lelarge.info
обсуждение исходный текст
Ответы Re: "set schema" patch  (Dave Page <dpage@postgresql.org>)
Список pgadmin-hackers
Hi,

This patch adds a schema combobox on some objets' dialog : aggregate,
conversion, domain, function, sequence, table, type, view. There are two
EDB objects that probably need it too : package and synonym. Dave, can
you tell me if they are dependants on schema ? and do they use the same
SQL statement to alter their schema ? thanks.

The patch attached is not finished. I have one big issue with it. It
seems I can't alter the schema of a function. The call to ShowObject()
in dlgProperty::apply() fails. It seems this statement
  pgObject *newData=data->Refresh(mainForm->GetBrowser(), item);
crashes pgAdmin (core dump), but I have no clue to explain this. It
don't even know why it crashes with functions, but works with the other
objects.

If I can find a solution to this issue, it'll probably solve this second
(and last) issue. I've put some of my code in comments in OnOK()
function. I wrote this code to refresh the "Schemas" node. It seemed to
work fine Thursday morning, but didn't want to work since. Is there
something wrong with my way to refresh the "Schemas" node? Is there
another way ?

Thanks for any tips.

Regards.


--
Guillaume.
 http://www.postgresqlfr.org
 http://dalibo.com

Вложения

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

Предыдущее
От: Guillaume Lelarge
Дата:
Сообщение: Re: Schema and tablespace
Следующее
От: svn@pgadmin.org
Дата:
Сообщение: SVN Commit by dpage: r6921 - trunk/pgadmin3/i18n/zh_TW