Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1t7iu4-000AOF-Ev for pgsql-hackers@arkaria.postgresql.org; Sun, 03 Nov 2024 22:16:59 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1t7it2-0016mb-6H for pgsql-hackers@arkaria.postgresql.org; Sun, 03 Nov 2024 22:15:56 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1t7it1-0016mT-R4 for pgsql-hackers@lists.postgresql.org; Sun, 03 Nov 2024 22:15:56 +0000 Received: from mail-ed1-x52e.google.com ([2a00:1450:4864:20::52e]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1t7isv-0001PZ-Mx for pgsql-hackers@postgresql.org; Sun, 03 Nov 2024 22:15:54 +0000 Received: by mail-ed1-x52e.google.com with SMTP id 4fb4d7f45d1cf-5c932b47552so3735a12.0 for ; Sun, 03 Nov 2024 14:15:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1730672148; x=1731276948; darn=postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=O6SLe3gpSzzP6zTPAByMDKHaQSNJ9xxXicmsrZuMrdE=; b=SPc2fus/4n4ITFxKfWomgh2UbDI/FS1iuioXHCS4G8S54SUZ7ZAATqzDXX2jqCXoag iAgmcOU5MMT8hrd1lQ+uUz6fFlpGVTxxNcQmt9VO6vA30ddnAgxzQRiS05KWBejBIna/ bT08O2+QzNy0zCekc8mYWRa33CpWL2BRs5/3tDwOYHI80+iZD6GMVjVk+vb4ym7r6gp+ qH81VB0fcP4bmh6Znf0UYMZNHb6PdZ+KGKOYDmw0UV1474/mBZFuRhUrldqg9Yfj+DYL Q0CL2W+3GsmeBMG3wUp/lKg6VZKz0pWgN8rdKpKXzjh3lkX2/WEixCvFAs79qwqcTIIO x2zQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730672148; x=1731276948; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=O6SLe3gpSzzP6zTPAByMDKHaQSNJ9xxXicmsrZuMrdE=; b=G8Ta9G2ZM5m5x+L5g5TKwoSvBeU9NnSEdnNmqp5ORGGq0LMq1MUqnZfRYgDcYXxdRS vHR5/2u3xisuMCKX2UPH3zOxCAGW7DQ1dmQAyg58SiD47HkrOUsAjigRPr/DqSGwyM/E ZJWz4ywvA7NHJylF2WeFh8zJTiPFcnNt1pSFFavKt7N4oG80lRSajpdKkOWBJWICVBoY kR/3DOqCsDL6Bd3oCtnA2dbBQXR+gGf9eQDhDWMrhBeVAVjki2gVYKx39P6eQa0rr146 wfi1kim2s5Wbf18hUmcNaPMZnxgCM9/uPlndp8QvZNCmuX+anyCZzlnNDvcYhZUbdXbj fzTQ== X-Forwarded-Encrypted: i=1; AJvYcCVfyhYMwQl195t62Me0Gr7GoOmSxFJdtQacOXgVWz2LGPzkpA5lmp1VVJR5iDiGD9GmK8EMp/h9sGgGxvnp@postgresql.org X-Gm-Message-State: AOJu0YyT495RyYisHDL0rHZNMFBoreprsDwMmbFlWNFYRbL1pDSf9Nzs L7PbrIjGjAJ3bJRq6ZENefycLs0lSwhXx2tEECMD+iKI6nrKWNBgz7BaMVrYHNKPLuIp3bko+YS eHzvDE+Gm5CKMgWtr4TyEkZvKpB7Q8xCgHWafwobzDwgMM55PSg== X-Gm-Gg: ASbGnculTCTsjthc8YVaZ8XEgtHngFZG7ikWdzJn6HAVm0Yo71iSj14x+GHDMsskDud TllKHeLw803WzDwupXapyeQ8SQmmY/zs= X-Google-Smtp-Source: AGHT+IGFR1Vw137ALvSL5VRnDkaT5N1tLs5MnrRFo4i3ATYTMAqH9nIthVZrnkDSBVMvIb1OBqXaI7Ef7Uqk+6V22Ok= X-Received: by 2002:a05:6402:d4e:b0:5c8:84b5:7e78 with SMTP id 4fb4d7f45d1cf-5cec941e480mr69403a12.4.1730672147626; Sun, 03 Nov 2024 14:15:47 -0800 (PST) MIME-Version: 1.0 References: <47AEACEE-E5CC-40E4-8611-01F3A465AF16@yandex-team.ru> <9e7b21e7-4c63-4299-87f4-780a0699a7d8@eisentraut.org> <130996.1718814994@sss.pgh.pa.us> <647660.1719003075@sss.pgh.pa.us> <3110108.1719939353@sss.pgh.pa.us> <122E6623-E3B3-4945-9DF2-ADF86F7C63A7@yandex-team.ru> <2069996.1730557625@sss.pgh.pa.us> In-Reply-To: <2069996.1730557625@sss.pgh.pa.us> From: Hannu Krosing Date: Sun, 3 Nov 2024 23:15:33 +0100 Message-ID: Subject: Re: What is a typical precision of gettimeofday()? To: Tom Lane Cc: "Andrey M. Borodin" , Peter Eisentraut , pgsql-hackers Content-Type: multipart/alternative; boundary="0000000000009589c50626098223" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --0000000000009589c50626098223 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Tom, Did I understand correctly that you would prefer the documentation part to be much smaller than it is now and all current the discussion about things that are not strictly about the pg_test_timing to be not in the docs for it ? My current plan is to move the other discussions around timing from th edocs to PostgreSQL Wiki. Would this be good ? --- Best Regards Hannu On Sat, Nov 2, 2024 at 3:27=E2=80=AFPM Tom Lane wrote: > "Andrey M. Borodin" writes: > > This thread has associated CF entry which is marked as RwF [0]. But the > change proved to be useful [1] in understanding what we can expect from > time source. > > It was requested many times before [2,3]. Reading through this thread i= t > seems to me that my questions about application of the pg_test_timing > somehow switched focus from this patch. However, I'd appreciate if it was > applied. Nanoseconds seem important to me. > > Let me know if I can help in any way. Thanks! > > Basically, I think the code is ready, but I was awaiting Hannu's > proposal on rewriting the documentation for pg_test_timing. > Do you want to have a go at that? > > regards, tom lane > --0000000000009589c50626098223 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Tom,

Did I understand correctly that you would p= refer the documentation part to be much smaller than it is now and all curr= ent the discussion about things that are not strictly about the pg_test_tim= ing to be not in the docs for it ?

My current plan is to move the ot= her discussions around timing from th edocs to PostgreSQL Wiki.

Woul= d this be good ?

---
Best Regards
Hannu

On Sat, Nov 2, 2024 at = 3:27=E2=80=AFPM Tom Lane <tgl@sss.p= gh.pa.us> wrote:
"Andrey M. Borodin" <x4mmm@yandex-team.ru> writes:
> This thread has associated CF entry which is marked as RwF [0]. But th= e change proved to be useful [1] in understanding what we can expect from t= ime source.
> It was requested many times before [2,3]. Reading through this thread = it seems to me that my questions about application of the pg_test_timing so= mehow switched focus from this patch. However, I'd appreciate if it was= applied. Nanoseconds seem important to me.
> Let me know if I can help in any way. Thanks!

Basically, I think the code is ready, but I was awaiting Hannu's
proposal on rewriting the documentation for pg_test_timing.
Do you want to have a go at that?

=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 regards, tom lane
--0000000000009589c50626098223--