Re: Simple thing to make pg_autovacuum more useful - Mailing list pgsql-hackers

From Darcy Buskermolen
Subject Re: Simple thing to make pg_autovacuum more useful
Date
Msg-id 200801180753.37788.darcyb@commandprompt.com
Whole thread Raw
In response to Re: Simple thing to make pg_autovacuum more useful  ("Joshua D. Drake" <jd@commandprompt.com>)
List pgsql-hackers
On Thursday 17 January 2008 19:17:00 Joshua D. Drake wrote:
> On Thu, 17 Jan 2008 21:43:46 -0300
>
> Alvaro Herrera <alvherre@commandprompt.com> wrote:
> > Tom Lane wrote:
> > > Alvaro Herrera <alvherre@commandprompt.com> writes:
> > > > All this thread is a waste of time.  We've previously agreed that
> > > > we're going to store autovacuum per-table settings in
> > > > pg_class.reloptions.
> > >
> > > I had forgotten that discussion.  So the plan is for the
> > > pg_autovacuum catalog to go away entirely, correct?
> >
> > Yup.
>
> Wait .reloptions is a column... how are we going to populate it and
> array?

ALTER TABLE foo SET autovacuum to true;
ALTER TABLE foo SET autovacuum_naptime to '1min';

(or there about)

I suppose we could also have pg_autovacuum become a view, with rules to manage 
relopts.

>
> Sincerely,
>
> Joshua D. Drake



-- 
Darcy Buskermolen
Command Prompt, Inc.
+1.503.667.4564 X 102
http://www.commandprompt.com/
PostgreSQL solutions since 1997


pgsql-hackers by date:

Previous
From: "Jonah H. Harris"
Date:
Subject: Re: modularity of PostgreSQL
Next
From: Maciej Grygorcewicz
Date:
Subject: Problem with correct compiling and linking server side C function on Windows ,c++ Builder