Re: autovacuum bootstrap - Mailing list pgsql-hackers

From Tom Lane
Subject Re: autovacuum bootstrap
Date
Msg-id 29008.1119729128@sss.pgh.pa.us
Whole thread Raw
In response to autovacuum bootstrap  (Alvaro Herrera <alvherre@surnet.cl>)
Responses Re: autovacuum bootstrap
List pgsql-hackers
Alvaro Herrera <alvherre@surnet.cl> writes:
> I added two new fields to the pg_database flatfile and table, datstats
> and datautovac.  They respectively signal the stat collector and
> autovacuum daemon to run for that database.

Why?  I can't see a particularly good reason to be able to suppress
these daemons per-database.

> Additionally I need to save some state during initdb for each database,
> and during database creation (and when the hypotetical ALTER DATABASE
> command for turning autovacuum on is executed).

Shouldn't this live in the existing stats collector output file?
Exactly what state have you got in mind?
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Fundamental error in "no WAL log" index/file creation stuff
Next
From: Alvaro Herrera
Date:
Subject: Re: autovacuum bootstrap