Skip site navigation (1) Skip section navigation (2)

Re: pgAdmin III enhancement

From: Stephane DROUARD <stephane(dot)drouard(at)st(dot)com>
To: "'Andreas Pflug'" <pgadmin(at)pse-consulting(dot)de>
Cc: <pgadmin-support(at)postgresql(dot)org>
Subject: Re: pgAdmin III enhancement
Date: 2003-12-01 09:24:01
Message-ID: 000c01c3b7ec$dcbaa450$29084b0a@sgp.st.com (view raw or flat)
Thread:
Lists: pgadmin-support
Hi Andreas,

Thank you for your answer.

I would just clarify something. You wrote: "It's completely inacceptable to
issue a complete refresh of the main window after each execute, which is
what you're requesting in consequence."
This was not my request. I have just proposed to refresh the CURRENT object
BEFORE opening the query tool.

Regards,
Stephane

-----Original Message-----
From: Andreas Pflug [mailto:pgadmin(at)pse-consulting(dot)de] 
Sent: vendredi 28 novembre 2003 19:21
To: Stephane DROUARD
Cc: pgadmin-support(at)postgresql(dot)org
Subject: Re: [pgadmin-support] pgAdmin III enhancement


Stephane DROUARD wrote:

>When you open the query tool, it displays the current object script (in
>fact the bottom right window content). Closing the tool does not 
>refresh the main interface, I understand this is too difficult to 
>analyse the requests and refresh the concerned objects.
>
>However, this causes a problem with the current object. Imagine you
>open the query tool, you modify the current object then close the tool. The
object script (bottom right window) is not refreshed: OK. Now, if you
re-open the query tool, it will take the content of the bottom right window,
so the old script. If you don't pay attention to that (imagine a big
function, 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




In response to

Responses

pgadmin-support by date

Next:From: Andreas PflugDate: 2003-12-01 11:06:47
Subject: Re: pgAdmin III enhancement
Previous:From: blacknozDate: 2003-12-01 08:45:21
Subject: Re: src/gtk/colour.cpp(272): assert "wxAssertFailure" failed:

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group