Re: Zeroing damaged pages - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Zeroing damaged pages
Date
Msg-id 23542.1141155905@sss.pgh.pa.us
Whole thread Raw
In response to Re: Zeroing damaged pages  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
>> On Thu, 2006-02-23 at 11:54 -0500, Tom Lane wrote:
>>> Hmm .... it'd probably be a good idea to force zero_damaged_pages OFF in
>>> the autovac subprocess.  That parameter is only intended for interactive
>>> use --- as you say, autovac would be a rather nasty loose cannon if it
>>> fired up with this parameter ON.

> I am wondering if we should prevent autovac from running if
> zero_damaged_pages is set in postgresql.conf.

What's wrong with just turning it off locally in the autovac process?

If the admin prefers autovac not run at all while he's fooling around,
he can disable it in postgresql.conf (or perhaps even better, run in
single-user mode).  But I don't think it's appropriate to force that
decision on him.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Greg Stark
Date:
Subject: Re: Dead Space Map
Next
From: Bruce Momjian
Date:
Subject: Re: Config file for psql