Re: measure time intervals

From: John R Pierce <pierce(at)hogranch(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: measure time intervals
Date: 2012-04-06 17:40:18
Message-ID: 4F7F2A82.601@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 04/05/12 7:00 AM, Vincent Dautremont wrote:
> These are not affected by system time changes, so time interval can be
> calculated even if the system time is changed by NTP or the user.
> That's why I can't use any function based on system time.

properly configured Unix NTP doesn't step-change the clock, it very
gently slows it down or speeds it up until it is accurate and maintains
stability. and only root can change the clock on a Unix system, so this
really shouldn't be a concern.

--
john r pierce N 37, W 122
santa cruz ca mid-left coast

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message John R Pierce 2012-04-06 17:42:05 Re: EDB - oracle compatibility (Nested Tables)
Previous Message EXT-Rothermel, Peter M 2012-04-06 16:22:22 Re: Using DEFAULT as a parameter value with PQexecPrepare()