Re: log_checkpoints and restartpoint

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Itagaki Takahiro <itagaki(dot)takahiro(at)gmail(dot)com>
Cc: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: log_checkpoints and restartpoint
Date: 2011-02-03 02:12:10
Message-ID: AANLkTi=gWu9WEu0gNznxDgMtA4vw9Kjnq_L37-Hp1dHc@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Feb 2, 2011 at 8:16 PM, Itagaki Takahiro
<itagaki(dot)takahiro(at)gmail(dot)com> wrote:
> On Mon, Jan 31, 2011 at 05:17, Robert Haas <robertmhaas(at)gmail(dot)com> wrote:
>>> The attached patch changes LogCheckpointEnd so that it logs
>>> the number of WAL files created/deleted/recycled even in
>>> restartpoint.
>>
>> This patch looks good to me.  For now, I'm marking it Ready for
>> Committer.  Absent objections, I will also commit it.
>
> I don't have any objections for the patch, but we might also need
> to add description about restartpoints into log_checkpoints option.
>
> http://developer.postgresql.org/pgdocs/postgres/runtime-config-logging.html#RUNTIME-CONFIG-LOGGING-WHAT

Good idea. Committed, with an appropriate (I hope) doc change.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2011-02-03 02:21:06 Re: Error code for "terminating connection due to conflict with recovery"
Previous Message Robert Haas 2011-02-03 02:01:07 Re: [HACKERS] Slow count(*) again...