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

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

Re: Feature request: disable copying SQL from main window to query tool by default


  • From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
  • To: Thom Brown <thombrown(at)gmail(dot)com>
  • Cc: Dave Page <dpage(at)pgadmin(dot)org>, pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
  • Subject: Re: Feature request: disable copying SQL from main window to query tool by default
  • Date: Tue, 22 Dec 2009 14:16:10 +0100
  • Message-id: <4B30C69A.8070000@lelarge.info> <text/plain>

Le 22/12/2009 11:07, Thom Brown a écrit :
> 2009/12/22 Guillaume Lelarge <guillaume(at)lelarge(dot)info>
> 
>> Le 22/12/2009 11:02, Thom Brown a écrit :
>>> 2009/12/22 Dave Page <dpage(at)pgadmin(dot)org>
>>>
>>>> On Mon, Dec 21, 2009 at 5:37 PM, Guillaume Lelarge
>>>> <guillaume(at)lelarge(dot)info> wrote:
>>>>> Le 21/12/2009 15:41, Thom Brown a écrit :
>>>>>> [...]
>>>>>> Not so much a feature request but a tweak to a default settings.  The
>>>> guys
>>>>>> at work agree that copying the creation script for a database object
>>>> into a
>>>>>> new query window is a bit annoying and unnecessary as we always end up
>>>>>> having to clear the window each time before typing anything.  I
>> imagine
>>>> it's
>>>>>> not something people will want a vast majority of the time, so maybe
>> not
>>>>>> disabling it by default would be a good idea.  We've now disabled it
>> in
>>>> our
>>>>>> own clients, but find it odd it's enabled as default behaviour in the
>>>> first
>>>>>> place.
>>>>>>
>>>>>
>>>>> I have the exact same behavior: open the query tool, delete the SQL
>>>>> script, start the real work. Kind of annoying. So I won't oppose to fix
>>>>> it this way :)
>>>>
>>>> We're talking about the default value for the option that does that
>>>> already. It just defaults to on at the moment, but Thom thinks off
>>>> seems more sensible.
>>>>
>>>>
>>>>
>>> Yes, I'm not against it being available, just it being the default
>>> behaviour. :)  The specific option I'm referring to is in File > Options,
>>> and in the Query tab there's an option named "Copy SQL from main window
>> to
>>> query tool" which is checked by default.
>>>
>>
>> To tell the truth, I didn't remember there was an option for this. I'll
>> turn it off.
>>
>>
>>
> Thanks guys! :)
> 

Done. I didn't backpatch it on the 1.10 branch. I don't think we should
do this but I don't really have a hard feeling on this, so tell me if it
needs to be done.


-- 
Guillaume.
 http://www.postgresqlfr.org
 http://dalibo.com



Home | Main Index | Thread Index

Privacy Policy | About PostgreSQL
Copyright © 1996 – 2012 PostgreSQL Global Development Group