Le 22/12/2009 11:07, Thom Brown a écrit : > 2009/12/22 Guillaume Lelarge <guilla...@lelarge.info> > >> Le 22/12/2009 11:02, Thom Brown a écrit : >>> 2009/12/22 Dave Page <dp...@pgadmin.org> >>> >>>> On Mon, Dec 21, 2009 at 5:37 PM, Guillaume Lelarge >>>> <guilla...@lelarge.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 -- Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-hackers