Re: Fix for erroneous warning on Shutdown - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: Fix for erroneous warning on Shutdown
Date
Msg-id 200406111836.i5BIae025895@candle.pha.pa.us
Whole thread Raw
In response to Fix for erroneous warning on Shutdown  (Simon Riggs <simon@2ndquadrant.com>)
List 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@postgresql.org so that your
>       message can get through to the mailing list cleanly

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

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: Fix for erroneous warning on Shutdown
Next
From: Andreas Pflug
Date:
Subject: Re: [HACKERS] serverlog function (log_destination file)