Re: Fix for erroneous warning on Shutdown

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Simon Riggs <simon(at)2ndquadrant(dot)com>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: Fix for erroneous warning on Shutdown
Date: 2004-06-11 18:36:40
Message-ID: 200406111836.i5BIae025895@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers-win32 pgsql-patches


Patch rejected, asking for more research.

---------------------------------------------------------------------------

Simon Riggs wrote:
>
> Minor patch to correct erroneous warning in cvs tip, believed to be a
> very minor regression.
>
> When a shutdown was requested within CHECKPOINT_SECONDS of a checkpoint,
> the shutdown code in the bgwriter (which has does checkpointing) would
> issue the erroneous message:
>
> LOG: checkpoints are occurring too frequently (%d seconds apart)
> HINT: Consider increasing the configuration parameter
> "checkpoint_segments".
>
> Clearly, this should only occur when specific checkpoint requests have
> been made, shutdown checkpoints should not be included in the warning.
>
> Best regards, Simon Riggs

[ Attachment, skipping... ]

>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Andrew Dunstan 2004-06-11 20:02:11 Re: [PATCHES] pg_ctl using START with paths needing quotes
Previous Message Tom Lane 2004-06-11 18:25:48 Re: Fix for erroneous warning on Shutdown

Browse pgsql-patches by date

  From Date Subject
Next Message Andreas Pflug 2004-06-11 19:05:57 Re: [PATCHES] serverlog function (log_destination file)
Previous Message Tom Lane 2004-06-11 18:25:48 Re: Fix for erroneous warning on Shutdown