Re: [HACKERS] Remove lower limit on checkpoint_timeout? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [HACKERS] Remove lower limit on checkpoint_timeout?
Date
Msg-id 2627.1482539190@sss.pgh.pa.us
Whole thread Raw
In response to Re: [HACKERS] Remove lower limit on checkpoint_timeout?  (David Steele <david@pgmasters.net>)
Responses Re: [HACKERS] Remove lower limit on checkpoint_timeout?
List pgsql-hackers
David Steele <david@pgmasters.net> writes:
> What about a ./configure option that basically removes the min/max
> limits of every setting where it makes sense?

It's pretty much never the case that anything goes; for example,
are we going to insist that the code be able to respond sanely to
negative checkpoint_timeout?  The GUC limit mechanism was really
invented to avoid having to do that, as much or more than preventing
users from picking "bad" values.

And I don't want to maintain two sets of limits, so I'm not for
some sort of "training wheels off" vs "training wheels on" GUC.

We could move towards a project policy that limits be set according
to what's sensible for the code to support rather than what seems
like useful ranges.  Again though, most of the ensuing work needs to
be documentation not code changes.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Jim Nasby
Date:
Subject: Re: [HACKERS] Clarifying "server starting" messaging in pg_ctl startwithout --wait
Next
From: David Steele
Date:
Subject: Re: [HACKERS] Remove lower limit on checkpoint_timeout?