Re: Fill factor cannot be modified - Mailing list pgadmin-support

From Thom Brown
Subject Re: Fill factor cannot be modified
Date
Msg-id BANLkTik99tjZ5eFGvUu9GnujaCKU33AUhg@mail.gmail.com
Whole thread Raw
In response to Re: Fill factor cannot be modified  (Thom Brown <thom@linux.com>)
Responses Re: Fill factor cannot be modified  (Dave Page <dpage@pgadmin.org>)
List pgadmin-support
On 17 June 2011 18:18, Thom Brown <thom@linux.com> wrote:
> On 17 June 2011 18:16, Thom Brown <thom@linux.com> wrote:
>> On 16 June 2011 15:41, Dave Page <dpage@pgadmin.org> wrote:
>>> On Thu, Jun 16, 2011 at 2:45 PM, Thom Brown <thom@linux.com> wrote:
>>>> Hi,
>>>>
>>>> I'm using PgAdmin III 1.14.0 beta 1 and noticed that if I go into the
>>>> properties dialog box for a table, the Fill Factor field cannot be
>>>> modified.  I've manually altered a table so that the fill factor is
>>>> set to a valid value, re-checked the properties box and can see my new
>>>> value in the Fill Factor field.  However, it still cannot be modified.
>>>
>>> This appears to be a missing feature. We need to add code to support
>>> adjustment of the fill factor on existing tables.
>>>
>>>> Also, the properties dialog box for a primary key also has a Fill
>>>> Factor field, and values can be entered into it, but the OK button
>>>> stays greyed out and the SQL tab shows nothing to be changed.
>>>
>>> That has the same issue, plus a bug which leaves the field enabled.
>>> I'll push a fix for the bug - a patch would be cool for the new
>>> feature though :-p
>>
>> Very well then.  Dodgy patch attached.
>
> And again without ugly whitespace.

Erk... just been trying to break it and found that this generates the
alter statement every time once the value has been set, so fixed that
too (attached).

--
Thom Brown
Twitter: @darkixion
IRC (freenode): dark_ixion
Registered Linux user: #516935

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

Attachment

pgadmin-support by date:

Previous
From: Thom Brown
Date:
Subject: Re: Fill factor cannot be modified
Next
From: Michael Shapiro
Date:
Subject: Re: Is 1.14 supposed to behave differently when it loses connection?