Re: UUID v7
От | Masahiko Sawada |
---|---|
Тема | Re: UUID v7 |
Дата | |
Msg-id | CAD21AoB5WJ1ENg4=yUUHDNfd8k72CU6FKiF_b5cE=Gtsyb7Amw@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: UUID v7 (Junwang Zhao <zhjwpku@gmail.com>) |
Список | pgsql-hackers |
On Sun, Nov 17, 2024 at 10:39 AM Andrey M. Borodin <x4mmm@yandex-team.ru> wrote: > > > > > On 17 Nov 2024, at 00:06, Andrey M. Borodin <x4mmm@yandex-team.ru> wrote: > > > > v31 > > There was a problem with MingWG build. I've considered all options and decided to include all necessary stuff into instr_time.h.So much fuss for these 2 bits about nanoseconds :) > I realized that what we do in get_real_time_ns() on Windows is essentially the same as what we do in gettimeofday(). Probably we can just do either clock_gettime() with CLOCK_REALTIME on unix-like systems and gettimeofday() on Windows, and then don't change anything in instr_time.h? We need to explain why we don't use gettimeofday() on unix-like systems in get_real_time_ns() function. Regards, -- Masahiko Sawada Amazon Web Services: https://aws.amazon.com
В списке pgsql-hackers по дате отправления: