Re: Update functions and trigger functions by clicking
От | Dave Page |
---|---|
Тема | Re: Update functions and trigger functions by clicking |
Дата | |
Msg-id | BANLkTikCz8HePO2L_jzGaSviFRysqqQe=Q@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Update functions and trigger functions by clicking (Vinicius Santos <vinicius.santos.lista@gmail.com>) |
Список | pgadmin-hackers |
On Mon, May 30, 2011 at 1:58 AM, Vinicius Santos <vinicius.santos.lista@gmail.com> wrote: >>>> in an object type independent way - ie. in pgObject for example. Not >>>> sure how feasible that is though... > > Hello, > > It could take a look at my patch? > > I thought of other ways to implement, but I ended up with this. Hi, That seems pretty simple, but I think it misses one of the big issues - avoiding pushing the refresh down the entire tree. As an example, consider what happens if you click on a schema. As the code stands, it looks like it'll cause not only the schema to be refreshed, but all of the sub-objects that are currently populated on the tree. That could make that click very expensive. I think we need to find a way to ensure that the refresh is constrained to the appropriate subset of objects - for a table, that will probably include some of the sub-objects (eg. columns), for a schema, just the schema itself. -- Dave Page Blog: http://pgsnake.blogspot.com Twitter: @pgsnake EnterpriseDB UK: http://www.enterprisedb.com The Enterprise PostgreSQL Company
В списке pgadmin-hackers по дате отправления: