Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Wish List Request: Tabbed SQL Query Window

4 views
Skip to first unread message

Ryan Daniels

unread,
Jun 24, 2008, 3:17:28 AM6/24/08
to

I would like to request that the SQL query window have tabs so that you can have multiple queries/files open in the same window.

Thanks,
Ryan Daniels

Fernando Hevia

unread,
Jun 24, 2008, 5:38:13 PM6/24/08
to
On Tue, Jun 24, 2008 at 4:17 AM, Ryan Daniels <ryan.d...@gmail.com> wrote:

I would like to request that the SQL query window have tabs so that you can have multiple queries/files open in the same window.


Agreed. That would be a nice feature to see in the next release.
And also an option/setting to filter server context messages.
Doable or not, I want to thank the developers for their great work on this project!

Regards,
Fernando.

Chris St Denis

unread,
Jun 24, 2008, 5:50:09 PM6/24/08
to
I would also like to see a more graceful handling of disconnects.

Once of my servers I connect to through a firewall. The firewall connection eventually times out causing a disconnect that pgadmin doesn't handle very happily. Would be nice for it to just reconnect transparently without closing all of the tree, popping up several errors, etc.

Or just provide a keep-alive option.

-- 
Chris St Denis
Programmer
SmarttNet (www.smartt.com)
Ph: 604-473-9700 Ext. 200
-------------------------------------------
"Smart Internet Solutions For Businesses" 

Guillaume Lelarge

unread,
Jun 25, 2008, 6:09:58 PM6/25/08
to
Ryan Daniels a écrit :

>
> I would like to request that the SQL query window have tabs so that you
> can have multiple queries/files open in the same window.
>

I think it could be a great idea. Don't know if it's really feasible but
I like the idea.


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

--
Sent via pgadmin-support mailing list (pgadmin...@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-support

Dave Page

unread,
Jun 26, 2008, 4:07:58 AM6/26/08
to
On Wed, Jun 25, 2008 at 11:09 PM, Guillaume Lelarge
<guil...@lelarge.info> wrote:
> Ryan Daniels a écrit :
>>
>> I would like to request that the SQL query window have tabs so that you
>> can have multiple queries/files open in the same window.
>>
>
> I think it could be a great idea. Don't know if it's really feasible but I
> like the idea.

Seems like it would be a lot of work. You'd need to seperate all the
query code out into a seperate class that you could instantiate aas
required on new tabs, and modify all the window options such that they
affect all tabs, or work with just the selected one as appropriate
(think 'Show line endings' vs. 'EOL Mode).

It would also look pretty weird as we will be adding tabs to the text
control soon anyway to handle the query builder, so we'll end up with
two sets of tabs on a tabset.

I'm happy to review patches though if someone wants to put some effort into it.

--
Dave Page
EnterpriseDB UK: http://www.enterprisedb.com

Ryan Daniels

unread,
Jun 26, 2008, 8:42:12 AM6/26/08
to
 
Most of the query writing software I have worked with is tab-based. This seems like a natural point in the evolution of pgAdmin. :-)
 

Guillaume Lelarge

unread,
Jun 26, 2008, 10:30:26 AM6/26/08
to
Dave Page a écrit :

> On Wed, Jun 25, 2008 at 11:09 PM, Guillaume Lelarge
> <guil...@lelarge.info> wrote:
>> Ryan Daniels a écrit :
>>> I would like to request that the SQL query window have tabs so that you
>>> can have multiple queries/files open in the same window.
>>>
>> I think it could be a great idea. Don't know if it's really feasible but I
>> like the idea.
>
> Seems like it would be a lot of work. You'd need to seperate all the
> query code out into a seperate class that you could instantiate aas
> required on new tabs, and modify all the window options such that they
> affect all tabs, or work with just the selected one as appropriate
> (think 'Show line endings' vs. 'EOL Mode).
>
> It would also look pretty weird as we will be adding tabs to the text
> control soon anyway to handle the query builder, so we'll end up with
> two sets of tabs on a tabset.
>

I wasn't aware of this (adding the tab on the text control). This would
be enough.

--

Dave Page

unread,
Jun 26, 2008, 10:34:34 AM6/26/08
to
On Thu, Jun 26, 2008 at 3:30 PM, Guillaume Lelarge

<guil...@lelarge.info> wrote:
> Dave Page a écrit :
>>
>> On Wed, Jun 25, 2008 at 11:09 PM, Guillaume Lelarge
>> <guil...@lelarge.info> wrote:
>>>
>>> Ryan Daniels a écrit :
>>>>
>>>> I would like to request that the SQL query window have tabs so that you
>>>> can have multiple queries/files open in the same window.
>>>>
>>> I think it could be a great idea. Don't know if it's really feasible but
>>> I
>>> like the idea.
>>
>> Seems like it would be a lot of work. You'd need to seperate all the
>> query code out into a seperate class that you could instantiate aas
>> required on new tabs, and modify all the window options such that they
>> affect all tabs, or work with just the selected one as appropriate
>> (think 'Show line endings' vs. 'EOL Mode).
>>
>> It would also look pretty weird as we will be adding tabs to the text
>> control soon anyway to handle the query builder, so we'll end up with
>> two sets of tabs on a tabset.
>>
>
> I wasn't aware of this (adding the tab on the text control). This would be
> enough.

You misunderstand - there will be two tabs; the text control and the
query builder.

--
Dave Page
EnterpriseDB UK: http://www.enterprisedb.com

--

Ryan Daniels

unread,
Jun 29, 2008, 1:06:12 PM6/29/08
to

Dave,

What if the per-text-coltrol tabs were at the bottom of the region, and the per-file tabs were at the top?

Ryan

Dave Page

unread,
Jun 29, 2008, 1:14:55 PM6/29/08
to
On Sun, Jun 29, 2008 at 6:06 PM, Ryan Daniels <ryan.d...@gmail.com> wrote:
>
> Dave,
>
> What if the per-text-coltrol tabs were at the bottom of the region, and the
> per-file tabs were at the top?

Not all OS's support that iirc (for example, Windows XP under uxtheme
if memory serves), but I don't think that's a showstopper - just
something to be aware of as it may be confusing without some
additional redesign.

--
Dave Page
EnterpriseDB UK: http://www.enterprisedb.com

--

0 new messages