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

From Jelte Fennema-Nio
Subject Re: What is a typical precision of gettimeofday()?
Date
Msg-id CAGECzQT+62S7Uy0egu2fjWg3k7C-ZBX-3nwEpS8B3Woa9k8-bw@mail.gmail.com
Whole thread Raw
In response to Re: What is a typical precision of gettimeofday()?  (Peter Eisentraut <peter@eisentraut.org>)
List pgsql-hackers
On Wed, 20 Mar 2024 at 07:35, Peter Eisentraut <peter@eisentraut.org> wrote:
> If we want to be robust without any guarantees from gettimeofday(), then
> arguably gettimeofday() is not the right underlying function to use for
> UUIDv7.

There's also clock_gettime which exposes its resolution using clock_getres



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: documentation structure
Next
From: Nathan Bossart
Date:
Subject: Re: cleanup patches for incremental backup