Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1no0XO-0005Wl-De for pgsql-hackers@arkaria.postgresql.org; Mon, 09 May 2022 10:22:46 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1no0WO-0000WV-Mq for pgsql-hackers@arkaria.postgresql.org; Mon, 09 May 2022 10:21:44 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1no0WN-0000WL-34 for pgsql-hackers@lists.postgresql.org; Mon, 09 May 2022 10:21:44 +0000 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1no0WE-000363-Kj for pgsql-hackers@postgresql.org; Mon, 09 May 2022 10:21:42 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 86417320010B; Mon, 9 May 2022 06:21:30 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Mon, 09 May 2022 06:21:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ilmari.org; h=cc :cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm2; t=1652091690; x= 1652178090; bh=QjoOH93zcAJmVSr+DxlJSlrrrm0r4hgbPnWJMmZifMM=; b=l RJLQJwSPUHaq6gSa39/B12mbI18QCF5Y4QwHQfk6OUxBBj9eHwDqxprRy2Ki6jMz PXx+xpZZcndgF10k2RbUfqs9F7VJFVeSeCNYZDJVnxfrg1UP7ky0HW09rOw0hPnI TTfsgQCi3Qhm+pBoBfy+3fBff3T8LqGeGlvjaOpA9XDJhFAO4+jrz+mYj2A3NXUp +dTW/JM4tvN8acQU9t1pAotmGNUCyH1aHft8Y4FhBgXNvDt6R7HKXQLeFtG6oHhW 2BPOVaQ84lF/d4qNlvqOs8ycc0VXLbq7301lmsniaxGtj8Ky88XBz04hoLO1YwRr 8y96L5tRm2KdYKjuF6Dag== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; t=1652091690; x=1652178090; bh=QjoOH93zcAJmV Sr+DxlJSlrrrm0r4hgbPnWJMmZifMM=; b=BA68OlVTQwUqkka6y54E1hLVSKckJ Zpoxgj34+7v5BpKCLZdvxFttVdCO411cCYcZidmZU+MY9/aBAaQwcEx3OFytHU6D WY9fRIHr8CSLIh5xR4ih6PA6JwH54z3UfNI4HS1Y0UfZQ+wnFMIVSIWP4a0qB4EP aIXpfd9pUt5WZZfw1vwRjnSHp6/DmJ41wUEXvP67jYZbMVN3fpZdxeAwZRA81e8B Ubco/Qq5kvz+ALCJailJvpXVr1Nsf8jZhx4MdbF5ql2hHPAQR32Jwkjrtv8XugHA r/XPDJ+C8lQ/ORIaxY9Qw+9DqZNOz5nZpMfBUEDlJanI4MskNSKo2WFzA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrfeelgddviecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvfevufhfffgjkfgfgggtgfesthekredttderjeenucfhrhhomhepffgrghhf ihhnnhgpkfhlmhgrrhhipgforghnnhhsnohkvghruceoihhlmhgrrhhisehilhhmrghrih drohhrgheqnecuggftrfgrthhtvghrnhepgeegkefgfeehleekuefhveevkedttdeftdff ueevueejfedtgedtteffgedthfelnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrg hmpehmrghilhhfrhhomhepihhlmhgrrhhisehilhhmrghrihdrohhrgh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 9 May 2022 06:21:28 -0400 (EDT) From: =?utf-8?Q?Dagfinn_Ilmari_Manns=C3=A5ker?= To: David Fetter Cc: Justin Pryzby , pgsql-hackers@postgresql.org Subject: Re: Finer grain log timestamps References: <20220508204451.GC11333@fetter.org> <20220508211227.GP28830@telsasoft.com> <20220508220222.GD11333@fetter.org> Date: Mon, 09 May 2022 11:21:26 +0100 In-Reply-To: <20220508220222.GD11333@fetter.org> (David Fetter's message of "Sun, 8 May 2022 22:02:22 +0000") Message-ID: <875ymfnh09.fsf@wibble.ilmari.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk David Fetter writes: > diff --git src/backend/utils/error/elog.c src/backend/utils/error/elog.c > index 55ee5423af..4698e32ab7 100644 > --- src/backend/utils/error/elog.c > +++ src/backend/utils/error/elog.c > @@ -2295,7 +2295,7 @@ char * > get_formatted_log_time(void) > { > pg_time_t stamp_time; > - char msbuf[13]; > + char msbuf[16]; Now that it holds microseconds (µs), not milliseconds (ms), should it not be renamed to `usbuf`? - ilmari