Re: Repost: Patch: view data for tables/views on double click

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: Repost: Patch: view data for tables/views on double click
Дата
Msg-id E7F85A1B5FF8D44C8A1AF6885BC9A0E430662E@ratbert.vale-housing.co.uk
обсуждение исходный текст
Ответ на Repost: Patch: view data for tables/views on double click  (Ivan Nejgebauer <ian-pgahack@uns.ns.ac.yu>)
Ответы Re: Repost: Patch: view data for tables/views on  (Ivan Nejgebauer <ian-pgahack@uns.ns.ac.yu>)
Список pgadmin-hackers

> -----Original Message-----
> From: pgadmin-hackers-owner@postgresql.org
> [mailto:pgadmin-hackers-owner@postgresql.org] On Behalf Of
> Ivan Nejgebauer
> Sent: 22 September 2004 13:18
> To: pgadmin-hackers@postgresql.org
> Subject: [pgadmin-hackers] Repost: Patch: view data for
> tables/views on double click
>
> 1. There is an additional checkbox in the Preferences tab of
> the Options dialog, labeled "Show data instead of properties
> for tables and views", placed as a subordinate of "Show
> object properties on double click" (I have stripped the "in
> treeview" part, since double click should also work in the
> Properties pane). The checkbox is disabled if its superior is
> disabled.

I think this is exactly when it should be enabled - such that you have
the choice that double click can do one of the following:

- Nothing
- Open the data view on a table/view (and nothing on other objects)
- Open the properties dialogue.

> 2. In the same tab, a parameter labeled "Maximum rows in data
> view" is introduced. It is used to limit the number of rows
> retrieved when constructing the data view/edit grid if
> greater than zero. The default value is set to 500, although
> it could be set to 0 (unlimited) to keep the behavior prior
> to its introduction.

I'm unconvinced about silently limiting the number of rows - that's
bound to cause a few support emails with ppl not realising there's a
default limit (500 seems a little low anyway - what does the maximum
query rows default to? For that matter, is there any real need for a
separate parameter?). In the query tool it tells the user that greater
than X rows will be retrieved, and gives the option to cancel or go
ahead - this seems nicer behaviour to me.

> The patch also arranges reading and writing of the new
> parameters from and to the configuration file.
>
> The patch is against the beta1 source tree; I could re-sync
> it to the latest snapshot if needed.

This is a new feature - it's application will be deferred until after we
branch following release as we're currently in feature freeze.

Sorry for the negative comments - I'm trying very hard not to discourage
you from contributing further, however I'm sure you realise that pgAdmin
got where it is today by us considering all aspects of its usability and
design very carefully before implementing anything. We'll get there in
the end though!!

Regards, Dave.

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

Предыдущее
От: Ivan Nejgebauer
Дата:
Сообщение: Repost: Patch: view data for tables/views on double click
Следующее
От: Alexander Borkowski
Дата:
Сообщение: Re: Compilation on Windows