On 01/16/2012 01:28 AM, Greg Smith wrote:
> -I can't tell for sure if this is working properly when
> log_checkpoints is off. This now collects checkpoint end time data in
> all cases, whereas before it ignored that work if log_checkpoints was off.
...and there's at least one I missed located already: inside of md.c.
I'd forgotten how many spots where timing calls are optimized out are
floating around this code path.
--
Greg Smith 2ndQuadrant US greg@2ndQuadrant.com Baltimore, MD
PostgreSQL Training, Services, and 24x7 Support www.2ndQuadrant.com