Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WYL6p-0003g7-Tm for pgsql-bugs@arkaria.postgresql.org; Thu, 10 Apr 2014 19:58:04 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WYL6p-0006ks-B3 for pgsql-bugs@arkaria.postgresql.org; Thu, 10 Apr 2014 19:58:03 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WYL6o-0006km-Ly for pgsql-bugs@postgresql.org; Thu, 10 Apr 2014 19:58:02 +0000 Received: from mbx.knossos.net.nz ([202.160.48.10]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WYL6j-0008QC-7l for pgsql-bugs@postgresql.org; Thu, 10 Apr 2014 19:58:01 +0000 Received: from [10.1.1.3] (121-99-178-175.bng1.nct.orcon.net.nz [121.99.178.175]) (authenticated bits=0) by mbx.knossos.net.nz (8.14.4/8.14.4) with ESMTP id s3AJuZ0S026226 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Fri, 11 Apr 2014 07:56:42 +1200 Message-ID: <5346F773.4080101@archidevsys.co.nz> Date: Fri, 11 Apr 2014 07:56:35 +1200 From: Gavin Flower Organization: ArchiDevSys User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: Peter Geoghegan , Tom Lane CC: Greg Stark , John R Pierce , PostgreSQL Bugs Subject: Re: log_checkpoints, microseconds References: <53463419.2090407@hogranch.com> <20785.1397157615@sss.pgh.pa.us> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org On 11/04/14 07:43, Peter Geoghegan wrote: > On Thu, Apr 10, 2014 at 12:20 PM, Tom Lane wrote: >> I think you're both wrong. 1000 usec = 1 msec, not the other way round. > Yes, but why would you ever want to divide any number of microseconds > by 1000 like this, unless you were actually interested in nanoseconds? > The point is that we start out with microseconds "elapsed" here, not > milliseconds or seconds. > > 123456 microseconds = 123.456 milliseconds So to get milliseconds you divide the number of microseconds by 1000. Cheers, Gavin -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs