Re: Bugs in CreateCheckPoint - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: Bugs in CreateCheckPoint
Date
Msg-id 552E8DFC.5010703@iki.fi
Whole thread Raw
In response to Bugs in CreateCheckPoint  ("Zhang Zq" <zqzhangmail@163.com>)
List pgsql-hackers
On 04/15/2015 07:02 PM, Zhang Zq wrote:
> hi,
>     To avoid inserting duplicate checkpoints when the system is idle, the code of CreateCheckPoint make two tests to
determinethat nothing has happened since the start of the last checkpoint.
 
> But because the layout of XLOG record was changed, the condition would never to be true. The attachment is the patch
tofix it, thanks.
 

Jeff Janes reported this a while ago, and as it happens, I committed a 
fix earlier today. (See 
http://www.postgresql.org/message-id/552E7611.1000907@iki.fi)

- Heikki




pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Turning off HOT/Cleanup sometimes
Next
From: Heikki Linnakangas
Date:
Subject: Re: Turning off HOT/Cleanup sometimes