On 4/9/2014 10:47 PM, Peter Geoghegan wrote:
> if (log_checkpoints)
> elog(DEBUG1, "checkpoint sync: number=%d file=%s time=%.3f msec",
> processed,
> FilePathName(seg->mdfd_vfd),
> (double) elapsed / 1000);
>
> break; /* out of retry loop */
> }
>
> Did the author of this code really intend that "elapsed" microseconds
> be divided by 1000 like this?
thats just for the log, and you'll note it says "%.3f msec" in the entry.
--
john r pierce 37N 122W
somewhere on the middle of the left coast