Re: pgAdmin III: Muliple SQL tabs

Поиск
Список
Период
Сортировка
От John Obaterspok
Тема Re: pgAdmin III: Muliple SQL tabs
Дата
Msg-id CAOscVdJdgQ5aTAPRWN98iaaOpOuksP=_7eGbvri25h2gPSZWrw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: pgAdmin III: Muliple SQL tabs  (Dave Page <dpage@pgadmin.org>)
Ответы Re: pgAdmin III: Muliple SQL tabs  (Sergey Busel <sbusel@gmail.com>)
Список pgadmin-hackers


2016-02-02 12:08 GMT+01:00 Dave Page <dpage@pgadmin.org>:
On Tue, Feb 2, 2016 at 3:17 AM, Sergey Busel <sbusel@gmail.com> wrote:
> Patch file for multiple SQL tabs is attached.

Thanks - I see how this could be useful. I think it needs a little
work before it could be included:

- Unused code should be removed, not commented out.
- I think the tab names should reflect the file name (where there is
one) - e.g. "Query 2" should become "foo.sql" (without the path) if
you save the query.
- There should be some way for the user to see which tab the results
are related to. Maybe the output pane title should read "Output Pane
(Query 2)" or "Output Pane (foo.sql)" as appropriate? I'm not sure if
that will do weird things with the perspective though - they used to
include panel titles.
- Instead of the "Close Tab" menu option, perhaps an X button should
be added to the right-hand end of the active tab?


I haven't tested this but I agree with the above comments. Regarding the results pane I assume the output window, results window, query time, etc all reflect the current SQL query tab? So if you have two tabs with different queries you can switch between them and see their result window.

-- john 

В списке pgadmin-hackers по дате отправления:

Предыдущее
От: Dave Page
Дата:
Сообщение: pgAdmin website commit: Simplify JSON structure
Следующее
От: Sergey Busel
Дата:
Сообщение: Re: pgAdmin III: Muliple SQL tabs