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 1vtQhm-0078ZQ-1D for pgsql-hackers@arkaria.postgresql.org; Fri, 20 Feb 2026 13:38:03 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vtQhl-0081Zc-0J for pgsql-hackers@arkaria.postgresql.org; Fri, 20 Feb 2026 13:38:01 +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 1vtQhk-0081ZL-2O for pgsql-hackers@lists.postgresql.org; Fri, 20 Feb 2026 13:38:00 +0000 Received: from lahtoruutu.iki.fi ([185.185.170.37]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1vtQhh-00000000Mzx-0yzM for pgsql-hackers@lists.postgresql.org; Fri, 20 Feb 2026 13:37:59 +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 4fHWXF4v4yz49Px5; Fri, 20 Feb 2026 15:37:49 +0200 (EET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=lahtoruutu; t=1771594670; 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=9WUSLeWK9UqqCYxk5AOfe+U/mb//NtGTF6vLdyWSP7k=; b=QLD3tdsCzc5OWXXMcpEqMUoAyfcyKXInZC/Kku/CuZWAVxVXwAOGGoprzTz961aanYPSuX 4uO7VY8ttsKO468wrSCOJxCHsN900yqtmEH3x4wzLvxAf59L7t5iuWEQIqGyTpg3vfUBAL Mflt4/6oLdV+LBakC6TARFATf+D22ZMfymIVzXPHka1WnC0/wM1JrLfrVDAPRCbvdjVL1L 1BOHkKB9yGyXp4Itzed1wbUfvUcU+Z1BbqVFgzEDlElF4GHCwYdk8TEOVacc+sGmYPzALJ U8ByatiTnaGK4DKRqYVnlXmFJJDoJu6LLAlsP15Jq8WSXpJ0hAM6vlSmIuX38A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=lahtoruutu; t=1771594670; 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=9WUSLeWK9UqqCYxk5AOfe+U/mb//NtGTF6vLdyWSP7k=; b=UA+tcjbBHduWW9idrLZiKPoRwBRWRswudUKp4Sx5Zs1dvPELwiaLmEhS8Rnu/rcOCFa6FA VqeXwOLOeC9PXrXANDCsMH3ryzpdpYmVWnINzReag3mm9HhzvG5N92T1ie04U4Qio1M4K3 8qzB8kWjlvlzuUTy/rl3Por+QiMLskkuYvkOrxEvalqavDEB+wuzVVe5WLmop8IS0grKnM G/3HxH0pLUXqCyjxisjKJgHN8ynSndUaKE2BPBdetlQxAj8BYIbEf2fk9vKJtgA5TiEWr2 g4mH0x6t3mlMSPwY+lUIg9tbhSxTNGjXoRnZqWjsUejAWvePlvyxbaaoLFp+rw== ARC-Authentication-Results: i=1; ORIGINATING; auth=pass smtp.auth=hlinnaka smtp.mailfrom=hlinnaka@iki.fi ARC-Seal: i=1; a=rsa-sha256; d=iki.fi; s=lahtoruutu; cv=none; t=1771594670; b=CK8X2NyOW+XwibL17E0q5Khjt4thxw0xZ4TmJYtTZc/WRQTOP9W1QYJgIuumS/hrP4PcXd moq2eocm6Z81qowdE9nD6epQZf9SNoYLFaskUd3nRJXkUB6u7RhABRGeMvnMQGhXm/6LNC kb36qJ9n6kowMjVXQo+YbO01boQ1tmLfLBtzV3XtvxTMkN+j7dGmKlbaDkaFAhczQbBkDS BFs4ZnV/reTcNuN7wL9QrJY6Ghzgz/FA7zybFt4kKFZAyrsDz01G7stIYT42rU3bhYj9Qc Mk1Y1Cn0CJfn6MfdoyHZGromPLmYYViN1Kbpj4Tx+itMb7Fj+pU6KIdgSdR8vA== Message-ID: <5b4e458d-94f1-4ca3-ab72-aae8328e038d@iki.fi> Date: Fri, 20 Feb 2026 15:37:48 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: POC: make mxidoff 64 bits To: Maxim Orlov Cc: Alexander Lakhin , Ashutosh Bapat , 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> <2c62322e-a0e3-49cd-b369-370718a8efd8@iki.fi> <3624730d-6dae-42bf-9458-76c4c965fb27@iki.fi> <6dc0880b-15fb-42cf-abfc-62d9d80dd287@iki.fi> Content-Language: en-US From: Heikki Linnakangas In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 20/02/2026 10:47, Maxim Orlov wrote: > > Just one more minor thing. While working on making CLOG 64-bit, I > noticed that read error messages from SLRU pages were reported only in > 32-bit format, with the upper half simply truncated. Here's a small > patch to fix this problem. I used the "%u:%u" format because it is > already used by Postgres for outputting 64-bit transactions. Hmm, that's a prettya misleading format for multixid member offsets. And for CLOG and other SLRUs too, as they will always show the epoch as 0. This isn't really a new issue though, the SLRU errors have always said "transaction %u", even for multixids and offsets, and that's always been a little bogus. And for the pg_async SLRU, we just pass InvalidTransactionId. Can we improve the message with a callback or something, so that it's more relevant for the SLRU? - Heikki