Skip site navigation (1) Skip section navigation (2)

Fix for erroneous warning on Shutdown

From: Simon Riggs <simon(at)2ndquadrant(dot)com>
To: pgsql-patches(at)postgresql(dot)org
Subject: Fix for erroneous warning on Shutdown
Date: 2004-06-11 11:59:56
Message-ID: 1086955195.26694.4991.camel@stromboli (view raw or flat)
Thread:
Lists: pgsql-hackers-win32pgsql-patches
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: bgwriter.patch
Description: text/x-patch (668 bytes)

In response to

Responses

pgsql-patches by date

Next:From: Manfred SpraulDate: 2004-06-11 15:50:09
Subject: Re: Compiling libpq with VisualC
Previous:From: Zeugswetter Andreas SB SDDate: 2004-06-11 10:14:37
Subject: path.c char[strlen("xxx")] not portable

pgsql-hackers-win32 by date

Next:From: Manfred SpraulDate: 2004-06-11 15:50:09
Subject: Re: Compiling libpq with VisualC
Previous:From: Andreas PflugDate: 2004-06-11 09:41:11
Subject: Re: [pgsql-hackers-win32] Tablespaces

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group