Re: What is a typical precision of gettimeofday()?

From: Vik Fearing <vik(at)postgresfriends(dot)org>
To: Peter Eisentraut <peter(at)eisentraut(dot)org>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, hannuk(at)google(dot)com, x4mmm(at)yandex-team(dot)ru
Subject: Re: What is a typical precision of gettimeofday()?
Date: 2025-07-08 00:03:29
Message-ID: d8d51e6b-8d2b-4dbd-8007-b845ef2fc832@postgresfriends.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


On 19/03/2024 09:28, Peter Eisentraut wrote:
> Does anyone know what precision we can expect from gettimeofday()? 
> Can we expect the full microsecond precision usually?

Having read through this thread, is there any chance at all that we
might be able to implement feature F555, “Enhanced seconds precision”?

I feel we may have dug ourselves into a hole with integer timestamps
that span ridiculously long ranges.

--

Vik Fearing

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2025-07-08 00:04:25 Re: postmaster uses more CPU in 18 beta1 with io_method=io_uring
Previous Message Michael Paquier 2025-07-07 23:52:08 Re: [PATCH] Add support for displaying database service in psql prompt