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: 2009-12-22 10:04:38
Message-ID: 4B3099B6.9050800@lelarge.info
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

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.

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

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Thom Brown 2009-12-22 10:07:39 Re: Feature request: disable copying SQL from main window to query tool by default
Previous Message Dave Page 2009-12-22 10:04:24 Re: Feature request: disable copying SQL from main window to query tool by default