Re: pgAdmin III enhancement - Mailing list pgadmin-support

From Andreas Pflug
Subject Re: pgAdmin III enhancement
Date
Msg-id 3FC79229.3050105@pse-consulting.de
Whole thread Raw
In response to pgAdmin III enhancement  (Stephane DROUARD <stephane.drouard@st.com>)
Responses Re: pgAdmin III enhancement
List pgadmin-support
Stephane DROUARD wrote:

>When you open the query tool, it displays the current object script (in fact the bottom right window content). Closing
thetool does not refresh the main interface, I understand this is too difficult to analyse the requests and refresh the
concernedobjects.
 
>
>However, this causes a problem with the current object. Imagine you open the query tool, you modify the current object
thenclose the tool. The object script (bottom right window) is not refreshed: OK. Now, if you re-open the query tool,
itwill take the content of the bottom right window, so the old script. If you don't pay attention to that (imagine a
bigfunction, this was my case), you modify the script but from the previous version.
 
>Enhancement: when you open the query tool, it would be helpful to refresh the current object script.
>  
>

If the query tool's feature to get the currently selected object's 
script, you can disable this in options. The query tool can't know what 
you're doing, because it's meant for arbitrary queries. It's completely 
inacceptable to issue a complete refresh of the main window after each 
execute, which is what you're requesting in consequence. But you can do 
this yourself (F5 key on the object: table, schema, or even database).

When using the property dialogs, which I'd recommend for minor changes, 
pgadmin knows what you're doing, and will refresh the tree after the 
change is successfully stored.


Regards,
Andreas




pgadmin-support by date:

Previous
From: GuineaPig
Date:
Subject: SuSE 9.0/pgadmin3
Next
From: Andreas Pflug
Date:
Subject: Re: bug in Pgadmin 1.0.1