Re: pg_autovacuum integration attempt #2 - Mailing list pgsql-patches

From Tom Lane
Subject Re: pg_autovacuum integration attempt #2
Date
Msg-id 12874.1090078703@sss.pgh.pa.us
Whole thread Raw
In response to Re: pg_autovacuum integration attempt #2  ("Matthew T. O'Connor" <matthew@zeut.net>)
List pgsql-patches
"Matthew T. O'Connor" <matthew@zeut.net> writes:
> What I wanted to do was have GUC prevent autovacuum = true
> when the stats collector is not enabled, reguardless of what is in
> postgresql.conf.

GUC can't do that, but I think you can just hack the boolean variable
during startup --- compare what pgstat.c does with
enable_stats_collector.  (Not very clean, but I think it is okay within
the context of postmaster start.)

            regards, tom lane

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: pg_autovacuum integration attempt #2
Next
From: Rod Taylor
Date:
Subject: Re: pg_autovacuum integration attempt #2