Re: More refresh issues

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: More refresh issues
Дата
Msg-id 46E50D18.8030802@postgresql.org
обсуждение исходный текст
Ответ на Re: More refresh issues  (Erwin Brandstetter <brandstetter@falter.at>)
Ответы Re: More refresh issues  (Erwin Brandstetter <brandstetter@falter.at>)
Список pgadmin-hackers
Erwin Brandstetter wrote:
> That doesn't seem to work in the table subtree, yet. :/
> After deleting ...  --> focus goes  to ...
> ... table column  --> a random collection node in this table subtree.
> ... a check or fk constraint --> a unique constraint
> ... a unique constraint --> the pk constraint
> ... a trigger --> a table column
> ... an index --> the colums collection
> Other results with other tables. Behavior seems random. In pg 8.1 and pg
> 8.2 alike.

Gah, stupid error - and pure chance it worked OK when I tested it!!
Fixed in SVN.

> Also, if deletion fails (because of fk constraint or something) the
> focus will still wander. Could this be constricted to successful deletion?
> This is not constricted to the table subtree.

Also fixed.

> To sum it up, the policy on refreshing objects in the tree is now:
> pgAdmin updates all (well, almost) affected objects after changes made
> per dialog. This does not cover changes via manual SQL or from other
> users or other clients. I would generally recommend to refresh objects
> before working on them in such environments.
> Might be worth a note in the help file somewhere.

Patches are welcome :-)

Cheers, Dave.

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

Предыдущее
От: svn@pgadmin.org
Дата:
Сообщение: SVN Commit by dpage: r6630 - trunk/pgadmin3/pgadmin/frm
Следующее
От: Dave Page
Дата:
Сообщение: Re: two minor things