Skip site navigation (1) Skip section navigation (2)

Re: Two strange settings in frmOptions

From: Dave Page <dpage(at)pgadmin(dot)org>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: Two strange settings in frmOptions
Date: 2011-12-12 14:18:48
Message-ID: CA+OCxoxdMKw0Miacbhrut6-43Q0TgAWMSZeTs3Czf_hKi8O3tw@mail.gmail.com (view raw or flat)
Thread:
Lists: pgadmin-hackers
On Mon, Dec 12, 2011 at 7:43 PM, Magnus Hagander <magnus(at)hagander(dot)net> wrote:
> On Mon, Dec 12, 2011 at 15:08, Dave Page <dpage(at)pgadmin(dot)org> wrote:
>> On Mon, Dec 12, 2011 at 7:27 PM, Magnus Hagander <magnus(at)hagander(dot)net> wrote:
>>> Noticed two things in Options->QueryTool:
>>>
>>> 1) There is a settin gfor "Maximum rows to retreive". From what I can
>>> tell, this is *only* used for pgagent (pgaJobs.cpp and pgaStep.cpp).
>>> If that is so, it shuld not be under Query Tool settings. Potentially
>>> it could be removed completely, if pgAgent can actually deal with a
>>> hardcode there?
>>
>> It's not that pgAgent can or can't cope - it's just there to put a
>> limit on the number of rows we try to load into the Statistics tab on
>> the main form. Agreed, it shouldn't be under Query Tool.
>
> I meant if we can get away with a hardcoded limit - e.g. make it
> always do LIMIT 100.

The reason I didn't do that originally is that we really don't know
how much data any given site might want to see there.

>>> 2) There is a setting for "Count rows if estimated less than". AFAICT,
>>> this again has nothing to do with the query tool - this is for the
>>> object browser, when you click a table. Shouldn't it be moved to be
>>> under another tab?
>>
>> +1
>
> Any suggestions for where?

Browser -> UI Misc?

-- 
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

pgadmin-hackers by date

Next:From: pgAdmin TracDate: 2011-12-12 14:52:33
Subject: [pgAdmin III] #345: pgagent server side objects should be an EXTENSION
Previous:From: Magnus HaganderDate: 2011-12-12 14:17:52
Subject: Re: Two strange settings in frmOptions

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group