Re: What is a typical precision of gettimeofday()? - Mailing list pgsql-hackers

From Andrey Borodin
Subject Re: What is a typical precision of gettimeofday()?
Date
Msg-id AB551E5B-7E02-4D59-AB27-577127E448CF@yandex-team.ru
Whole thread Raw
In response to Re: What is a typical precision of gettimeofday()?  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: What is a typical precision of gettimeofday()?
List pgsql-hackers

> On 8 Jul 2025, at 23:07, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>
> The fact that the clock tick is about 40ns is extremely
> obvious in this presentation.

FWIW while working on UUID v7 Masahiko found that if we try to read real time with clock_gettime(CLOCK_REALTIME,)
measurementis truncated to microseconds. 


Best regards, Andrey Borodin.


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: What is a typical precision of gettimeofday()?
Next
From: Nikita Malakhov
Date:
Subject: Re: Support for 8-byte TOAST values (aka the TOAST infinite loop problem)