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 1w2prQ-000eQL-39 for pgsql-hackers@arkaria.postgresql.org; Wed, 18 Mar 2026 12:18:53 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1w2prP-00ARSg-2w for pgsql-hackers@arkaria.postgresql.org; Wed, 18 Mar 2026 12:18:51 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1w2prP-00ARSW-1k for pgsql-hackers@lists.postgresql.org; Wed, 18 Mar 2026 12:18:51 +0000 Received: from meesny.iki.fi ([195.140.195.201]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1w2prN-00000000vYc-0HRH for pgsql-hackers@postgresql.org; Wed, 18 Mar 2026 12:18:51 +0000 Received: from [10.0.2.15] (unknown [130.41.208.2]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange x25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: hlinnaka) by meesny.iki.fi (Postfix) with ESMTPSA id 4fbSY22JBfzyRl; Wed, 18 Mar 2026 14:18:46 +0200 (EET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=meesny; t=1773836327; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=74UX8HGwCAXVfDAZbn0BRT7mOUDDriGJrLbz+r3f4p0=; b=UoiialafYiJ/0JHjfZqpUtUwG5h2VBa1Mxt+Q0ExQaFbR5O03caMbAUopoyr24eTLWlqT1 2rQWgwIgGCOyFPsAeQkzdYtraZmKNKnMM9tV9MYzRazQaVklGZen0PdqY+IwxhQ+LrRJ3f VSL/MtXGaz//IDvSiZ189Qsv1O1ojeA= ARC-Seal: i=1; a=rsa-sha256; d=iki.fi; s=meesny; cv=none; t=1773836327; b=Gi3mh4nL9M8Lue5kStU+qg1zJey4C29kNThUQKWSz8OMkp8cnXrYQ1YIzIylRAandVJpaT /vegsPa2/1Gr+Pp68+Ria46P1RKOdaaIDwQ3Skcf2ajgsJ4SSMb8c0BfIkzpWoeBcnTKg+ yqdZNK9qyJKgsFCSKDM+UtlOuOfhnFM= ARC-Authentication-Results: i=1; ORIGINATING; auth=pass smtp.auth=hlinnaka smtp.mailfrom=hlinnaka@iki.fi ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=meesny; t=1773836327; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=74UX8HGwCAXVfDAZbn0BRT7mOUDDriGJrLbz+r3f4p0=; b=E0ZHX0jmnx0ZkQ41gCpnVmUf8Yj+SwuKaSH0yiE+01aJcLw6meSfTe87Gki5f+5POTEvoS f9tum1oRkZnH9+dK+ghsaYkTv0RYmKnevjpkJAvxne8euuaH07EGpt6HuyWjU075Z96VES AOCD4XL638ztWnzKQbTmOae6DZvVZGM= Message-ID: Date: Wed, 18 Mar 2026 14:18:45 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Fix uninitialized xl_running_xacts padding To: Alexander Kuzmenkov , Michael Paquier Cc: Andres Freund , Anthonin Bonnefoy , Bertrand Drouvot , Thomas Munro , PostgreSQL Hackers References: <70674869-2829-4b06-ab93-2f82ea51578c@iki.fi> Content-Language: en-US From: Heikki Linnakangas In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 18/03/2026 12:42, Alexander Kuzmenkov wrote: > On Wed, Mar 18, 2026 at 7:59 AM Michael Paquier > wrote: > > Hmm.  If I take this SQL sequence independently or with an > installcheck, the one-page VACUUM path is taken during the final > INSERT, but that's not the case of a `make check`.  Could this be made > more stable?  I have not spent a lot of time on it, so I may be > missing something obvious, of course. > > > I think this might be caused by "make check" running many tests in > parallel, so the deleting transaction is visible to some snapshots, and > the cleanup is not done. Not sure what's the best way to improve this. I think if you use "BEGIN; INSERT ...; ROLLBACK;" to generate the dead tuples instead of DELETE, it will not be sensitive to concurrent snapshots like that. - Heikki