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 1wGtfb-006fZi-1C for pgsql-hackers@arkaria.postgresql.org; Sun, 26 Apr 2026 07:12:47 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wGtfY-009yZW-0E for pgsql-hackers@arkaria.postgresql.org; Sun, 26 Apr 2026 07:12:44 +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 1wGtfX-009yZN-2P for pgsql-hackers@lists.postgresql.org; Sun, 26 Apr 2026 07:12:43 +0000 Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1wGtfU-0000000387F-40hy for pgsql-hackers@lists.postgresql.org; Sun, 26 Apr 2026 07:12:43 +0000 Received: by mail-wm1-x32c.google.com with SMTP id 5b1f17b1804b1-488ff90d6c7so76749115e9.2 for ; Sun, 26 Apr 2026 00:12:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec.at; s=google; t=1777187558; x=1777792358; darn=lists.postgresql.org; h=message-id:date:content-transfer-encoding:mime-version:comments :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Y4s/KMQzXyIGqh6nPvGlA9vkmfU5QjcsjCSKyE9Q+f4=; b=Q9yRm4szGRshkakuq0JiKKkinS32fe3XRRKG0Y+tt1xpk7ZWgjnuxTCmounc4pCsTO ZHJ34DSiKoYroxjOJtg7i7PRPdoFWh97zgr7uX0ePUVQHe47Yf4xeiUMcnfaUgEMcmd3 OzrtDEYS1w2PVP5YQG41lbuL1mP17zFvjuS3tLoXvJyuh9o/ZShMbjjlEXZudSsYaBZq rOoVT2snQ0cdOBKS77q5xm7aI8p9ZiuuSKUeDBp8ChFgtDoHmQFelbsDVD/ZjpS3syO1 UAPWs21rF7HB5HKn43Ze3wFBQEKkYan8TYe4xBGQmkuYVtRMGn8TEyhvy9I1LQc2mz4B rmyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1777187558; x=1777792358; h=message-id:date:content-transfer-encoding:mime-version:comments :references:in-reply-to:subject:cc:to:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Y4s/KMQzXyIGqh6nPvGlA9vkmfU5QjcsjCSKyE9Q+f4=; b=WaQbjHNLj1OA89/ZXuD0hyI0RoJxjyFAqiso56SaeCmfnoNAzGN/Q39sl/fmXW5qyX 2NgwFhi9hTAQzkC3G4FLL9JmeyrzN34QDlXu6dfOHFF+xaVSmWzUXGn6tmrRwbF8e8o9 H0F2EPvnSB4xW37fdbzwKPZyZJf76aCQNTF3BzFOJVrwsT9ME+6I1tADVnA/F2BkOvQO FZ4skplx9k0+PNSO7VLjdITInZQo3kSPGWgopy03VWWbr/Y5P1okn9LTzA91nMPG71wH 7IKABqEpMJbCUX5geNHjOcpHjnn/i5Pfdy2vFJ5x6SAfoq2fEVHQD+b0bN8U9C10r0UL 458A== X-Forwarded-Encrypted: i=1; AFNElJ8QXr9KOOGY2PzUgkGoTqOd+cu2mzqoHkvW3n1hZV5guLqOMrt1VBLQLwCjdV5IxvTfKnSFLsdEDC5/bYPn@lists.postgresql.org X-Gm-Message-State: AOJu0YwTeQxDJ/4gGyFeXoIDxCIhakw9kg1I3eBMiuiUyf31ddx+04DU 2xGhrtWsKo0Oa002tfEeKAtXJkWX1GaDqFeY14b2nB1iDYq+omOo3V6LnWFHyQWvR1U= X-Gm-Gg: AeBDieug6RP98CkGv5ZG8lRx/+pMRcaNvaQ99jvaV9FiQa/mrdpLHBXYCX+osTlx2gZ Kx42P23ytdVD5gBq+fre4BJfG2bcZ+4sryQP5vvkq+lgEAwkFWrIM2iDHgm5aTKkJ19X2ww75Bg GwluALZy+vdAi3sUnB3QnPM7J2FVkqP65cSjT4yqmWf0SQLe8vg+aXS1n1qS50O9n2ahlsuq/T9 RVGdMpI15Mg0d2MZ6gfRvrkSkIBENBFI5xhYozraBoFewbYYJNcFFT13DqRJVYnDGFAgGwYiEco JC4NITlHSUyTaLVdocV98uFBevlCJfbgF99NijZjGHYGvv84ArMF8gkjsm1Od89IOY3F2x/Du5O WxdEhaF4eXwluvP6lLMl1PyteEWj6amrPfh990zUbeiOdDTQ1KgLE+BNtlIycpvkCeyji2fQy7G smNHl3wztNiJSK7jl0P5phOfBOlpmyGTMq/ZQHdUSI+MZIrmM= X-Received: by 2002:a05:600c:6296:b0:483:64b4:79da with SMTP id 5b1f17b1804b1-488fb7923a9mr506370805e9.26.1777187558038; Sun, 26 Apr 2026 00:12:38 -0700 (PDT) Received: from localhost (109-81-168-142.rct.o2.cz. [109.81.168.142]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-43fe4e4d112sm75972484f8f.29.2026.04.26.00.12.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Apr 2026 00:12:37 -0700 (PDT) From: Antonin Houska To: alvherre@kurilemu.de Cc: "Michael Paquier" , "SATYANARAYANA NARLAPURAM" , "L. pgsql-hackers" Subject: Re: [PATCH] Compressed TOAST data corruption with REPACK CONCURRENTLY In-reply-to: <15004.1777138418@localhost> References: <52301.1776440752@localhost> <44015.1776685220@localhost> <6933b6c3-5f6b-4ab6-9e86-dd76015d3d3a@app.fastmail.com> <15004.1777138418@localhost> Comments: In-reply-to Antonin Houska message dated "Sat, 25 Apr 2026 19:33:38 +0200." X-Mailer: MH-E 8.6+git; nmh 1.8; GNU Emacs 28.3 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Sun, 26 Apr 2026 09:12:36 +0200 Message-ID: <12262.1777187556@localhost> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Antonin Houska wrote: > =C3=81lvaro Herrera wrote: >=20 > > > ok, this is a patch to enhance the tests. It also simplifies > > > gen_compressible() a bit and adjusts it so it is (hopefully) more rel= iable in > > > generating compressible values. Now it can be used to reproduce the f= ix [1]. > > > > > > [1] https://www.postgresql.org/message-id/52301.1776440752%40localhost > >=20 > > Thanks, I think it looks good, but unfortunately I don't see any proble= ms > > when running this test without your fix (I was assuming that the test w= ould > > fail). I didn't immediately understand why. Do you see any failures? >=20 > The enhanced tests should reproduce it (please let me know if they dont): >=20 > https://www.postgresql.org/message-id/44015.1776685220%40localhost I see you actually refer to the correct tests. I see no failure now as well. I'll try to make the tests more stable. Sorry for the confusion. --=20 Antonin Houska Web: https://www.cybertec-postgresql.com