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.96) (envelope-from ) id 1w0ryK-002HMj-2H for pgsql-hackers@arkaria.postgresql.org; Fri, 13 Mar 2026 02:09:52 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1w0ryJ-001HB3-0U for pgsql-hackers@arkaria.postgresql.org; Fri, 13 Mar 2026 02:09:51 +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.96) (envelope-from ) id 1w0ryI-001HAu-2n for pgsql-hackers@lists.postgresql.org; Fri, 13 Mar 2026 02:09:51 +0000 Received: from fhigh-a4-smtp.messagingengine.com ([103.168.172.155]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1w0ryH-00000001ri0-0ASH for pgsql-hackers@postgresql.org; Fri, 13 Mar 2026 02:09:50 +0000 Received: from phl-compute-06.internal (phl-compute-06.internal [10.202.2.46]) by mailfhigh.phl.internal (Postfix) with ESMTP id 36763140019F; Thu, 12 Mar 2026 22:09:48 -0400 (EDT) Received: from phl-frontend-03 ([10.202.2.162]) by phl-compute-06.internal (MEProxy); Thu, 12 Mar 2026 22:09:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm1; t=1773367788; x=1773454188; bh=D6ZhOz88RR 0nWPZQ8JWiTkJxPgBzcRBClmgTc+fIx6Q=; b=Cg2QL/mPQ4APQ2Xsg9JViQ4EWc wAp01VP/8RNdf3bSSh4j+pVcibNTD47vBgVuatbdsBv7M4tQu2FLyxooeIFyqQST QFT8GSYjWAo27lAfjtMXEQF3Wbl4QWP0ElKyPC7nPJTdpOTwIV1DhZYXEQ8r4gFN GbMdBccV+6fVjb6wFRLFh8A8uaxcBERprUcaEPDdY2Hj2jjN8UOYUYdAoFFXbuut 2uh1dXaDuazEwtskdR8r1teJBG3wVqAWXbRvQv+zxuP5u0CRFZEaeIokEqotDvwS qoCbUQsF2NTAU6TTqQI0jwhoL0dDlI/NCNGm351wMW9LfPfEFpDvxsxvGOKA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1773367788; x=1773454188; bh=D6ZhOz88RR0nWPZQ8JWiTkJxPgBzcRBClmg Tc+fIx6Q=; b=39PHfJxWdxQyM2harLQS/S7mVwqHRPsvLav7MKzDSyCKPQqkY8a zk6H2LriAWl3AOdW/aEeJ57oa5QKoX2Bc+WgWRwCoZdBtvCsYDAzbmqcMKaw5H7K 6pjMRF85f+kOzEu+yXtN4IaR0gfR+cyQKEM9RrlKed+usEra9lFr55xD1h1qPFFh iQ6MjSgudz/1VCeHsXnzvEXINCkHM9UOyiZS3H4Px4DGxVUSU4hJEQoE7aEs2l8h iGyPTQo0+sa7y/g96HDc0dUx/3QAzMR3O36HA3C0rc59u0Ttns5xnawyDXs15Jzx zYuaOa9xCXuUnr8FSaj3yyhSpYsBoaOsQHw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgddvkeekgedvucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnegfrh hlucfvnfffucdljedtmdenucfjughrpeffhffvvefukfhfgggtuggjsehgtderredttddv necuhfhrohhmpefoihgthhgrvghlucfrrghquhhivghruceomhhitghhrggvlhesphgrqh huihgvrhdrgiihiieqnecuggftrfgrthhtvghrnhepteelieefudffhffhtdetleeggeeg fffhkeeuveetiefgudduvedutefggeeivdejnecuvehluhhsthgvrhfuihiivgeptdenuc frrghrrghmpehmrghilhhfrhhomhepmhhitghhrggvlhesphgrqhhuihgvrhdrgiihiidp nhgspghrtghpthhtohepjedpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtoheprghshh hurdgtohgvkhekkeesghhmrghilhdrtghomhdprhgtphhtthhopegrshhhuhhtohhshhdr sggrphgrthdrohhsshesghhmrghilhdrtghomhdprhgtphhtthhopegsvghrthhrrghnug gurhhouhhvohhtrdhpghesghhmrghilhdrtghomhdprhgtphhtthhopegrnhgurhgvshes rghnrghrrgiivghlrdguvgdprhgtphhtthhopegrmhhithdrkhgrphhilhgrudeisehgmh grihhlrdgtohhmpdhrtghpthhtohepshhhvhgvthgrrdhmrghlihhksehgmhgrihhlrdgt ohhmpdhrtghpthhtohepphhgshhqlhdqhhgrtghkvghrshesphhoshhtghhrvghsqhhlrd horhhg X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 12 Mar 2026 22:09:45 -0400 (EDT) Date: Fri, 13 Mar 2026 11:09:41 +0900 From: Michael Paquier To: Ashutosh Sharma Cc: Ashutosh Bapat , Bertrand Drouvot , Andres Freund , Amit Kapila , shveta malik , pgsql-hackers Subject: Re: Report bytes and transactions actually sent downtream Message-ID: References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="K2MHI0OtUa7McifB" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --K2MHI0OtUa7McifB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Mar 12, 2026 at 06:13:33PM +0530, Ashutosh Sharma wrote: > Could you please share your thoughts on this? Your inputs would help > us determine the next steps - whether we should proceed with renaming, > and if so, what names you would suggest, or whether we should leave > things as they are. FWIW, I still find the use of _wal_ in these fields rather confusing, and they add more inconsistencies with the internal structures of reorderbuffer.c. The goal is to add a field to track the number of bytes sent downstream. Hence, I would suggest to give up on the rename, add the new field, perhaps consider improving the docs for the existing fields to tell to which context these numbers refer to, then call it a day.=20 -- Michael --K2MHI0OtUa7McifB Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmmzceUACgkQnvQgOdby QH0DFg//RivznGu7dEF97/QjREA4XTD5Ftm5haxHpq0VRFNZjM3W2U9Ll6R2BXLg zfnJYnUv0sYCokfxh86h9EQLvRpAVhdmQm2Bjj2+298oHPUHjTqU2skLqPU8tSD0 d3EDjXDOZry/k2jHBCkEAHZ70JgFzYCeqSCSthW8ymD68AUg0v/+Kgoyo43qlqns TAxOSnUg979ecJnn0upy3GQCOzaR4OnD6sahXVUQWUMaqXOFaIcwgeuvIKiT1yzX gs5i+PfsUWOx0f37cOzkWPfAzHIGRf6/6HzXnkNICKhbKUWHdyAF25lD1HzBNFsD AIXwXgzoPZMkNhdApfo+yZ1byvDnydc8p3zdAgQhEqB6gzUtgMEiMgL/8jDsCfF4 rmL8NXAQbjLSgQLvVJ7ZaPUbuoRTF1S00VmFaDQCYrAkTF1zu5UraCoHwOpk0iyZ V4saok0XvekT4w7555yc6clVEXbuE/xGZb9TlzzNe9CMw5sz7kAyNFp3BTGcpxnD 25G1hW77DFdKEG3IwQlqK8y9GGPiBq/7ExSt8Kbhz9t2Y2nEGriwjYWgAc2D9QPY N4D4oTNfPuwaTFNC5HvFXxdpoZOfnWK9kJqZduZFyBPYLQooN+aJ1tQyfZPMA1Sp 4bpo+Wd91Rp8twQbF3gMgM1wNqC60ARBk/J5k7um03YBP728po4= =cJV6 -----END PGP SIGNATURE----- --K2MHI0OtUa7McifB--