Re: Patch: Tie stats options to autovacuum in

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Jim Nasby <jim(at)nasby(dot)net>
Cc: "David E(dot) Wheeler" <david(at)kineticode(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Patch: Tie stats options to autovacuum in
Date: 2006-10-03 01:17:52
Message-ID: 200610030117.k931Hq629802@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Jim Nasby wrote:
> On Oct 2, 2006, at 8:41 PM, Bruce Momjian wrote:
> > David E. Wheeler wrote:
> >> On Sep 28, 2006, at 16:39, Jim C. Nasby wrote:
> >>
> >>> +1. I was just at a client today that had run into this problem.
> >>>
> >>> Actually, I'm in favor of refusing to start if autovac is on but the
> >>> proper stats settings aren't. I'd rather that then people ending up
> >>> with
> >>> bloated databases and crappy performance.
> >>
> >> I agree, but I figured that this was a start, at least.
> >
> > The problem with refusing to start is that autovacuum is sighup, so
> > you
> > might modify postgresql.conf and do a server restart, and then the
> > server doesn't start. Are people OK with that?
> >
> > I did apply the postgresql.conf comment addition.
>
> Hrm... how about if the options are incompatible on HUP we refuse to
> pick up any new settings and complain loudly?

We don't read postgresql.conf as a test and then set values.

--
Bruce Momjian bruce(at)momjian(dot)us
EnterpriseDB http://www.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2006-10-03 01:18:47 Re: [HACKERS] Bad bug in fopen() wrapper code
Previous Message Jim Nasby 2006-10-03 01:10:15 Re: Patch: Tie stats options to autovacuum in

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2006-10-03 01:18:47 Re: [HACKERS] Bad bug in fopen() wrapper code
Previous Message Jim Nasby 2006-10-03 01:10:15 Re: Patch: Tie stats options to autovacuum in