Re: Documentation bug: reference to checkpoint activity in bgwriter

From: Peter Geoghegan <peter(at)2ndquadrant(dot)com>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Pg Bugs <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: Documentation bug: reference to checkpoint activity in bgwriter
Date: 2012-01-09 19:37:06
Message-ID: CAEYLb_VTk=Rif+y1TOTr9wnz6EP47Gm5H3=WJhzNwFHqk=0mYg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On 9 January 2012 18:47, Robert Haas <robertmhaas(at)gmail(dot)com> wrote:
> On Sat, Dec 31, 2011 at 8:54 PM, Peter Geoghegan <peter(at)2ndquadrant(dot)com> wrote:
>> ISTM that the following reference, at config.sgml line 1345, ought to
>> be adjusted due to the introduction of the new checkpointer process:
>>
>>  Setting this to zero disables
>>         background writing (except for checkpoint activity).
>
> Hmm, so what should we adjust it *to*?

How about "Setting this to zero disables background writing. Note that
checkpoints, which are managed by a separate, dedicated auxiliary
process, are unaffected."

If this was the first release of Postgres, I'd suggest that we remove
any references to checkpoints, which are sort of orthogonal to the
stated main function of the bgwriter in past releases, which is to
clean dirty buffers so that backends don't have to. However, people
may still expect the bgwriter to manage checkpointing, particularly if
they're working off old sources of information, so it's useful to set
them straight.

--
Peter Geoghegan       http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training and Services

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message anjali_524 2012-01-10 06:02:26 BUG #6389: Fsync failed while creating DB
Previous Message Robert Haas 2012-01-09 18:47:03 Re: Documentation bug: reference to checkpoint activity in bgwriter