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 1k2SIX-0000UC-Lu for pgsql-hackers@arkaria.postgresql.org; Mon, 03 Aug 2020 04:42:06 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1k2SIW-0005EL-Ln for pgsql-hackers@arkaria.postgresql.org; Mon, 03 Aug 2020 04:42:04 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k2SIU-0005C2-TR for pgsql-hackers@lists.postgresql.org; Mon, 03 Aug 2020 04:42:04 +0000 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k2SIS-0005v1-9t for pgsql-hackers@postgresql.org; Mon, 03 Aug 2020 04:42:01 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 79EF685F; Mon, 3 Aug 2020 00:41:57 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Mon, 03 Aug 2020 00:41:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm2; bh=KakP9+c3/Y3inxtS1BzMPJ7jh1H Tm44R6twd4WaTLRM=; b=kjpFrlQHiEjh6qUo49u509IKChovf343AyakQCvPM/P aPel+domW7bHw1Ye7HN628X213VOj++pz9elQ8z1ZNpZ0CCXnl0R+TVacLoEYSUR e7sxaufuNxMzsqD6IfF7wAxhepqG0T14CjtkbzlGnK4gKZ8vUMK4SUsO5Hr0NzqR HjL1AcyDPT3U7YQfZ5MvPDjS3RuFWiB07HgB28QSiaE5pILxd9Zl0zNwI5GupEMZ Ol9lH1f2TigPoKsV4soffiRLmuPMTukEPBRpOwFKg0qrD/SEunnLCx2DD8wx4q+4 Z/BNFybq/Ndi5P08FHhuZ4cuNhNimLZcKWiDZhBR6+g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=KakP9+ c3/Y3inxtS1BzMPJ7jh1HTm44R6twd4WaTLRM=; b=m9dIZQ2cWhFEGMxmPZfcuS nglgNyM8dw+K98LINTIYhDXO6iVhebsy9W3Bzl/8/2TPIAgmsAjLlB3fPKepZBjC fu5ZmFWnh12HaLcMB5EKuovBtXxng4hLLpqFPPP9Oj6aR9jQ48lxUejd3PqBM1nl oqkDr5atDEW4UQStHWaFma6Hm8pPPdIDrjTK3zJyJ8Jzi8/FxuXYkuujERdx7gBK woriasmGY9Z+ntyL2ch38oQYZVoRCDoDx1b1LTY0lA4Kglm1PozCBABPGd+UT93A GcDTAJkqovtLR1MoETyrMalIB+NPs2aA0lTk9lSqYSknq4sMLg5PCYyAqA1tAB0A == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrjeefgdekgecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenfg hrlhcuvffnffculdejtddmnecujfgurhepfffhvffukfhfgggtuggjsehgtderredttddv necuhfhrohhmpefoihgthhgrvghlucfrrghquhhivghruceomhhitghhrggvlhesphgrqh huihgvrhdrgiihiieqnecuggftrfgrthhtvghrnhepvdegudeuhfdtueeltedtveejheeh ieevueeigeelteegleejleeiueeiheegvefhnecukfhppeduuddurddutddvrddukedtrd dukeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhep mhhitghhrggvlhesphgrqhhuihgvrhdrgiihii X-ME-Proxy: Received: from paquier.xyz (ee0822lan1.rev.em-net.ne.jp [111.102.180.185]) by mail.messagingengine.com (Postfix) with ESMTPA id 09D373280060; Mon, 3 Aug 2020 00:41:54 -0400 (EDT) Date: Mon, 3 Aug 2020 13:41:52 +0900 From: Michael Paquier To: Justin Pryzby Cc: Alvaro Herrera , Julien Rouhaud , Tomas Vondra , pgsql-hackers@postgresql.org Subject: Re: expose parallel leader in CSV and log_line_prefix Message-ID: <20200803044152.GL3317@paquier.xyz> References: <20200721043325.GC17300@paquier.xyz> <20200722153605.GA961@alvherre.pgsql> <20200723005214.GD26630@paquier.xyz> <20200726074206.GB4351@paquier.xyz> <20200726185427.GI4286@telsasoft.com> <20200728011033.GA28700@paquier.xyz> <20200731200448.GZ20393@telsasoft.com> <20200801033113.GE20393@telsasoft.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="xtx0sNU5lZ46KfgK" Content-Disposition: inline In-Reply-To: <20200801033113.GE20393@telsasoft.com> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --xtx0sNU5lZ46KfgK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jul 31, 2020 at 10:31:13PM -0500, Justin Pryzby wrote: > Also, I was reminded by Tom's c410af098 about this comment: >=20 > * Further note: At least on some platforms, passing %*s = rather than > * %s to appendStringInfo() is substantially slower, so m= any of the > * cases below avoid doing that unless non-zero padding i= s in fact > * specified. >=20 > It seems we can remove that hack and avoid its spiriling conditionals. > It's cleaner to make that 0001. Not sure what 0001 is doing on this thread, so I would suggest to create a new thread for that to attract the correct audience. It is true that we should not need that anymore as we use our own implementation of sprintf now. For now, I have taken 0002 as a base, fixed a couple of things (doc tweaks, removed unnecessary header inclusion, etc.), and committed it, meaning that we are done here. -- Michael --xtx0sNU5lZ46KfgK Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAl8nlY8ACgkQnvQgOdby QH3xiBAAm4qUDIwx2NP4918n+l8R0M4cmLLD3bxweVugHrEqp68hD0wD2jDHQxY0 IDlYnVFxUFS2XHj7FRrWrphWMMwwGCteW8rnkFGh1+bPTcW6HmsWaeRklsMOLWsR 1XcECWSDcCvX3cwtyzub9Z2b4ZblLmZ8XyZ1cFRWZdPTDZQosc1IfaCtFXWSs6Ym LRRktdP+uWcNWJIApjUbdti8UAE6B9yn9yuI5AHyNDLgQYkL14sZRMdntI8BULJr +GIGfjg76Ds/ZPr5EaJz/eSDExd7rH1CroihG9V9Aqnw2C0uh0jq189B7VrtHHYT zf5E9wexRxvRDGt4ITKe62MO+Rk/lg1GdXe2+YrjXATROEOQewvU7msSYldgYoP3 urQQfyAVKAAOyBSSwexuo9sVS67y8fJ97ckrcXzJivtwKtmyoH0YkrYQfJFD6OiR ZMH5FioVNW/vmu0cIcLb+JTEl65b/IADZfT2a/+gb1BuoQi+NczyuoNj0in3dAJV 8lrFGbPycYxDp9/uLrUPQaXwps2AanLEV2dtGVXqFEmBrwmxbyGYl0WSvlZ46V+Y MGWB10JpuY4gcv9B/qtlQ1JggfjXVM+uXn5pQNgkrvpjTWGr5rNhU5lWk03qvaLu J08UVI5zFoG0worzYgO3uPgEPsF5Nl/3/raBtq02z44ZnfQol+g= =HlZd -----END PGP SIGNATURE----- --xtx0sNU5lZ46KfgK--