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 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.
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.1000...@iki.fi)
- Heikki -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers