Re: [pgadmin-hackers] Update functions and trigger functions by clicking

2011-06-07 Thread Dave Page
On Tue, Jun 7, 2011 at 1:51 AM, Vinicius Santos wrote: >> >> I'd probably be happy with a patch that offered *both* "refresh object >> on click" and "refresh object and children on click", but not just the >> latter - the use case is just too narrow imho. >> > > I agree with you. > > What do you t

Re: [pgadmin-hackers] Update functions and trigger functions by clicking

2011-06-06 Thread Vinicius Santos
> > > I'd probably be happy with a patch that offered *both* "refresh object > on click" and "refresh object and children on click", but not just the > latter - the use case is just too narrow imho. > > I agree with you. What do you think of a ComboBox with the two options? I'll start to develop,

Re: [pgadmin-hackers] Update functions and trigger functions by clicking

2011-06-06 Thread Dave Page
On Sat, Jun 4, 2011 at 8:05 PM, Vinicius Santos wrote: > > Hi, sorry for the delay in responding. > > I agree to share with you. > > First, the update will be different for "F5 refresh" and per "click > refresh". This could confuse people. I don't think so - there's a pretty obvious difference be

Re: [pgadmin-hackers] Update functions and trigger functions by clicking

2011-06-04 Thread Vinicius Santos
Hi, sorry for the delay in responding. I agree to share with you. First, the update will be different for "F5 refresh" and per "click refresh". This could confuse people. Second, this does not obviate the problem of another user to create, for example, a table and this table does not appear to

Re: [pgadmin-hackers] Update functions and trigger functions by clicking

2011-05-31 Thread Dave Page
On Mon, May 30, 2011 at 1:58 AM, Vinicius Santos 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

Re: [pgadmin-hackers] Update functions and trigger functions by clicking

2011-05-29 Thread Vinicius Santos
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. Thanks. >From d85df2b2543a2974cdd1b8679938cce32991f1b9 Mon Sep 17 00:00:00 2001 Fr

Re: [pgadmin-hackers] Update functions and trigger functions by clicking

2011-05-27 Thread Dave Page
On Fri, May 27, 2011 at 12:08 PM, Vinicius Santos wrote: > Cool, thanks :-). Ideally, something like this should be implemented >> >> in an object type independent way - ie. in pgObject for example. Not >> sure how feasible that is though... >> > I thought just in pgObject. > > I'll write and tell

Re: [pgadmin-hackers] Update functions and trigger functions by clicking

2011-05-27 Thread Guillaume Lelarge
Le 05/27/2011 02:08 PM, Vinicius Santos a écrit : > Cool, thanks :-). Ideally, something like this should be implemented > >> in an object type independent way - ie. in pgObject for example. Not >> sure how feasible that is though... >> >> I thought just in pgObject. > > I'll write and tell me wh

Re: [pgadmin-hackers] Update functions and trigger functions by clicking

2011-05-27 Thread Vinicius Santos
Cool, thanks :-). Ideally, something like this should be implemented > in an object type independent way - ie. in pgObject for example. Not > sure how feasible that is though... > > I thought just in pgObject. I'll write and tell me what you think. Should I send this afternoon (afternoon for me,

Re: [pgadmin-hackers] Update functions and trigger functions by clicking

2011-05-27 Thread Dave Page
On Fri, May 27, 2011 at 11:57 AM, Vinicius Santos wrote: >> >> What I'd really like to see is an option which enables on-selection >> refreshing for all object types. >> > > OK. > > I will develop it , and send a patch for you to analyze. Cool, thanks :-). Ideally, something like this should be i

Re: [pgadmin-hackers] Update functions and trigger functions by clicking

2011-05-27 Thread Vinicius Santos
> > > What I'd really like to see is an option which enables on-selection > refreshing for all object types. > > OK. I will develop it , and send a patch for you to analyze. Thanks.

Re: [pgadmin-hackers] Update functions and trigger functions by clicking

2011-05-27 Thread Dave Page
Hi On Fri, May 27, 2011 at 1:57 AM, Vinicius Santos wrote: > Hello, > > I implemented an option to update functions and trigger functions, by > clicking on them in the treeview. > > This avoids problems when someone changes the function, and I get the old > version and then overwrite it, without

[pgadmin-hackers] Update functions and trigger functions by clicking

2011-05-26 Thread Vinicius Santos
Hello, I implemented an option to update functions and trigger functions, by clicking on them in the treeview. This avoids problems when someone changes the function, and I get the old version and then overwrite it, without reminding me from updating (F5) before. I did a checkbox in the fo