From: Tom Lane <tgl@sss.pgh.pa.us>
To: katsumata.tomonari@po.ntts.co.jp
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #6676: checkpointer does not work by SIGINT.
Date: Wed, 06 Jun 2012 13:05:24 -0400
Message-ID: <12124.1339002324@sss.pgh.pa.us> (raw)
In-Reply-To: <E1Sc8sK-0007Ey-2u@wrigleys.postgresql.org>
References: <E1Sc8sK-0007Ey-2u@wrigleys.postgresql.org>
katsumata.tomonari@po.ntts.co.jp writes:
> Now I'm testing the behavior of checkpointer,
> and I found a difference with PostgreSQL9.1 behavior.
> When I send SIGINT signal to writer process on PostgreSQL9.1,
> writer process starts checkpoint.
> But, when I send SIGINT signal to checkpointer on PostgreSQL9.2beta2,
> checkpointer doesn't start checkpoint.
AFAICT, the checkpointer does consider starting a checkpoint, but it
decides not to do one, because of this recent change:
http://git.postgresql.org/gitweb/?p=postgresql.git&a=commitdiff&h=18fb9d8d21a28caddb72c7ffbd...
If you had done enough updates since the last checkpoint, it would do
one. So this isn't a bug, but an intentional reduction in checkpoint
frequency. (Note that sending SIGINT is not, and never has been,
equivalent to forcing a checkpoint.)
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, katsumata.tomonari@po.ntts.co.jp
Subject: Re: BUG #6676: checkpointer does not work by SIGINT.
In-Reply-To: <12124.1339002324@sss.pgh.pa.us>
References: <E1Sc8sK-0007Ey-2u@wrigleys.postgresql.org> <12124.1339002324@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox