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 1vQsHN-001YPu-2U for pgsql-hackers@arkaria.postgresql.org; Wed, 03 Dec 2025 19:12:46 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vQsHM-00FgdV-2S for pgsql-hackers@arkaria.postgresql.org; Wed, 03 Dec 2025 19:12:45 +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 1vQsHM-00FgdM-1Y for pgsql-hackers@lists.postgresql.org; Wed, 03 Dec 2025 19:12:44 +0000 Received: from lahtoruutu.iki.fi ([185.185.170.37]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vQsHK-002yCH-36 for pgsql-hackers@lists.postgresql.org; Wed, 03 Dec 2025 19:12:44 +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 lahtoruutu.iki.fi (Postfix) with ESMTPSA id 4dM6j517VGz49QBk; Wed, 03 Dec 2025 21:12:41 +0200 (EET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=lahtoruutu; t=1764789161; 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=Xk0sK2RGWU8FZJ1YROuFldWCkOpizh7glB602Cx9D08=; b=dDnLGbzCyFZltvSoTM5I6q9bj90x6TlhGw9ci+g0yEVvzJafFvATcujqUUByGei355nJRJ RadnoBpm5Q3EgY52XoHo6PZsgIaJHwiyi2bU2QZJ5SuP2Z5kn+zrhPc+/xlHC27Q9DeSgP OkZsClSOlkSMFv5pagU1QzEbMayX/7ECHS3KclqiJr4JA3cUCn//AZqaJ2O1vh/YDnhFt2 wPxGfeatEEwXfRk8gnMRUKj9LSPT/5twFy/hmokDo2GCfAPhX8diWTpZLquCgjF4eZse2R fc43k4rTwLoTOhHrQ40f9LqAsmmmy9e2wVeO6U/4lWu/OFh11NJb0rCOLfOyFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=lahtoruutu; t=1764789161; 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=Xk0sK2RGWU8FZJ1YROuFldWCkOpizh7glB602Cx9D08=; b=qLX2bXfwCg/Qbbce+C6pxE5wcj1U+Ap6sk5t+dvCmOiq02JC126tKJuJKok77FMSk5tIrN R0EUlkYRhzxzB739ohOVr3/sFDfiSTKxnW8P5aY6Ta+JiqJ4gsWTL88VHvNqqU3vxFyoGG qtQcB8nKH6enORGfnizs37BDEVC0Cvsp1fPgNwD4zU1fJvZNJkmoWmUUzZ9pytY6KWGCQZ AUvjDIMjkyCIptJGkW85UP6VLNODAY1EVFmEDmFV9BzcnAKcosP9SYgFAwn3INY5sTf/Tn sPLhngwdt1hTq9FLKRqVIPzMDddfwHqGHAqR5w7yZKBWH62jwkVPfEpkbgoLtA== ARC-Seal: i=1; a=rsa-sha256; d=iki.fi; s=lahtoruutu; cv=none; t=1764789161; b=MK3ZFov0q0AFNBXb7sQs9yQEIk+glqd3P1eMhsY+YpbJbbzeLjM7wkphXHOnsOkcJLDMXI qXF2RiUX9KsZnpmtrkmXercq8ykwbbcljkR8qhvBnOMaTqsADugjq/N6INYgqeqTdJlQmd uBzhYrNsqklrETMriWDHOgePXVocO2nHNg6hHs1Ct1u/JzN7oycZIQbzwe2UIVAArdg/wA 4Hi1GQ/plKva3yUpwXPzlbKVeFKQma8MsI8PxxisBrgJBaJay+ymbhcMXubhBJubtCszgh ZxkPxk6bKxC/EREh53Sn+9/3CkPaOAMJSp3kt1DfTlluV0yolBzVqPIuOOJbow== ARC-Authentication-Results: i=1; ORIGINATING; auth=pass smtp.auth=hlinnaka smtp.mailfrom=hlinnaka@iki.fi Message-ID: Date: Wed, 3 Dec 2025 21:12:40 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: POC: make mxidoff 64 bits To: Ashutosh Bapat , Maxim Orlov Cc: Alvaro Herrera , Alexander Korotkov , wenhui qiu , Postgres hackers References: <36531c0e-292c-409d-bbc7-a252cf6e910a@iki.fi> <54aa8f65-f0e4-4464-b543-e0399c1cab1e@iki.fi> <4a9dda70-0af7-41a4-9636-b168f2fc48ef@iki.fi> <46cc45e9-fddd-44bc-bcb3-96889aafd921@iki.fi> <6c298bc4-7029-4c1d-bf16-3e094842ce32@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 01/12/2025 14:35, Ashutosh Bapat wrote: > On Mon, Dec 1, 2025 at 2:23 PM Maxim Orlov wrote: >> On Fri, 28 Nov 2025 at 16:17, Ashutosh Bapat wrote: >>> An UPDATE waits for FOR SHARE query to finish, and vice versa. In my >>> experiments I didn't see an UPDATE creating a multi-xact. Why do we >>> have UPDATEs in the load created by the test? Am I missing something? >> >> As far as I remember, this was done on purpose to create different >> multixact members statuses randomly. > > In that case, better to include that in the comments. I think that was indeed the purpose, but the test should use FOR KEY SHARE rather than FOR SHARE. Otherwise the UPDATEs don't generate multixids. - Heikki