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 1tVnoU-00BZZc-K7 for pgsql-hackers@arkaria.postgresql.org; Thu, 09 Jan 2025 08:22:48 +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 1tVnoU-00F9xs-2J for pgsql-hackers@arkaria.postgresql.org; Thu, 09 Jan 2025 08:22:45 +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 1tVnoT-00F9xk-Oq for pgsql-hackers@lists.postgresql.org; Thu, 09 Jan 2025 08:22:45 +0000 Received: from [93.174.131.139] (helo=mail.postgrespro.ru) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1tVnoQ-000fsM-22 for pgsql-hackers@postgresql.org; Thu, 09 Jan 2025 08:22:44 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=postgrespro.ru; s=mx2023; t=1736410899; bh=QIEwnfDgr/qYGzpm2oGmlqy/UZP4RfaDRDNGvcXbM5A=; h=From:In-Reply-To:References:Date:Cc:To:Message-ID:Subject: User-Agent:From; b=bm/5MFpkZexEMu+gPVD+T8Ynvqbwj3NBWgFfcC2fVWTy6ozRVCoCtwypL3R/dcnK1 rxI7LYwX/Rm1au18kY7JfBAOJqPLkATtLARb9syktjlfgcpRdXFzDxOB3kh6ZBo7F1 4Q09ZAgW8P1JA57ux+EPzL6h3HqNEcw4RLKgQ8lujJwAvI9EPzGSe/uFHyVYWkRNye Fyqx3rS/E3RNXNEpJZUKKtJD7qxs/p067KmvxUZ2/i3VCpNKZlZIm5cp8qHVGkTbeV 3mugwe7d8FWkRgG5Fp0zVXy1qV/u9s56WFTJUKw2yUDyXfuo0B8e3tNqR1A2KPhTRQ /S/YSnJjiS53A== Received: from sogo.postgrespro.ru (sogo.l.postgrespro.ru [192.168.2.5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (Client did not present a certificate) by mail.postgrespro.ru (Postfix/587) with ESMTPS id 03295607DD; Thu, 9 Jan 2025 11:21:38 +0300 (MSK) From: =?utf-8?q?=D0=94=D0=B0=D0=B2=D1=8B=D0=B4=D0=BE=D0=B2_=D0=92=D0=B8=D1=82=D0=B0=D0=BB=D0=B8=D0=B9?= In-Reply-To: Content-Type: text/plain; charset="utf-8" X-Forward: 176.124.146.228 References: <13b5b6-676c3080-4d-531db900@47931709> <152dda-676d7200-61-659acf0@102179597> <16aa85-676ec500-3d-23db9b40@59039559> Date: Thu, 09 Jan 2025 11:21:38 +0300 Cc: "pgsql-hackers" To: "Michael Paquier" MIME-Version: 1.0 Message-ID: <2a5ab6-677f8700-1f-36d162c0@246596326> Subject: =?utf-8?q?Re=3A?= An improvement of ProcessTwoPhaseBuffer logic User-Agent: SOGoMail 5.11.2 Content-Transfer-Encoding: quoted-printable X-KSMG-AntiPhishing: NotDetected X-KSMG-AntiSpam-Interceptor-Info: not scanned X-KSMG-AntiSpam-Status: not scanned, disabled by settings X-KSMG-AntiVirus: Kaspersky Secure Mail Gateway, version 2.1.0.7854, bases: 2025/01/09 06:46:00 #26962374 X-KSMG-AntiVirus-Status: NotDetected, skipped X-KSMG-LinksScanning: not scanned, disabled by settings X-KSMG-Message-Action: skipped X-KSMG-Rule-ID: 1 X-Host-Lookup-Failed: Reverse DNS lookup failed for 93.174.131.139 (deferred) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Monday, December 30, 2024 04:08 MSK, Michael Paquier wrote: > Instead, I have gone with a new > FullTransactionIdFromCurrentEpoch() that replaces > AdjustToFullTransactionId(). It cleans up most of the calls to > ReadNextFullTransactionId() compared to the previous patch. It is > true that these couple with calls to ProcessTwoPhaseBuffer(), but the > result felt OK this way in the scope of this fix. Could you please send the latest version of the patch, if any? I haven'= t found any new patches in the latest email. Happy New Year! With best regards, Vitaly