Re: [BUGS] BUG #3326: Invalid lower bound of autovacuum_cost_limit - Mailing list pgsql-patches

From Tom Lane
Subject Re: [BUGS] BUG #3326: Invalid lower bound of autovacuum_cost_limit
Date
Msg-id 12511.1181233124@sss.pgh.pa.us
Whole thread Raw
In response to Re: [BUGS] BUG #3326: Invalid lower bound of autovacuum_cost_limit  (Alvaro Herrera <alvherre@commandprompt.com>)
Responses Re: [BUGS] BUG #3326: Invalid lower bound of autovacuum_cost_limit  (Alvaro Herrera <alvherre@commandprompt.com>)
List pgsql-patches
Alvaro Herrera <alvherre@commandprompt.com> writes:
> But this is misleading (started postmaster with good value, then edited
> postgresql.conf and entered "-2"):

> 17903 LOG:  received SIGHUP, reloading configuration files
> 17903 LOG:  -2 is outside the valid range for parameter "autovacuum_vacuum_cost_limit" (-1 .. 1000)

> Note how it still says the range is -1 .. 1000.

Can we redefine things to make zero be the "disabled" value, thus
keeping the range of valid values contiguous?

            regards, tom lane

pgsql-patches by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: [BUGS] BUG #3326: Invalid lower bound of autovacuum_cost_limit
Next
From: Alvaro Herrera
Date:
Subject: Re: [BUGS] BUG #3326: Invalid lower bound of autovacuum_cost_limit