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

Vik Fearing <vik@postgresfriends.org>

From: Vik Fearing <vik@postgresfriends.org>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Peter Eisentraut <peter@eisentraut.org>, pgsql-hackers <pgsql-hackers@postgresql.org>, hannuk@google.com, x4mmm@yandex-team.ru
Date: 2025-07-08T00:46:17Z
Lists: pgsql-hackers

Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Force LC_NUMERIC to C while running TAP tests.

  2. Minor tweaks for pg_test_timing.

  3. Change pg_test_timing to measure in nanoseconds not microseconds.

On 08/07/2025 02:37, Tom Lane wrote:
> Vik Fearing <vik@postgresfriends.org> writes:
>> Having read through this thread, is there any chance at all that we
>> might be able to implement feature F555, “Enhanced seconds precision”?
> Don't see how we could do that without an on-disk compatibility break
> for timestamps.


Yeah, I don't see how either.


> (If we did decide to break compatibility, my own first priority
> would be to make timestamptz actually include a timezone ...)


That comes with its own set of issues, but I don't want to hijack this 
thread more than I already have.

-- 

Vik Fearing