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