Bugs in CreateCheckPoint

From: "Zhang Zq" <zqzhangmail(at)163(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Bugs in CreateCheckPoint
Date: 2015-04-15 16:02:11
Message-ID: 2724652a.141a1.14cbdd0f985.Coremail.zqzhangmail@163.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

hi,
To avoid inserting duplicate checkpoints when the system is idle, the code of CreateCheckPoint make two tests to determine that 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 to fix it, thanks.

Zhang Zq

Attachment Content-Type Size
repeatly-checkpoint.patch application/octet-stream 956 bytes

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2015-04-15 16:11:54 Re: Turning off HOT/Cleanup sometimes
Previous Message Heikki Linnakangas 2015-04-15 15:53:15 Re: INSERT ... ON CONFLICT IGNORE (and UPDATE) 3.0