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 1wGgt0-006TYB-04 for pgsql-hackers@arkaria.postgresql.org; Sat, 25 Apr 2026 17:33: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 1wGgsy-009Mwu-2Q for pgsql-hackers@arkaria.postgresql.org; Sat, 25 Apr 2026 17:33: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 1wGgsy-009MwO-1M for pgsql-hackers@lists.postgresql.org; Sat, 25 Apr 2026 17:33:44 +0000 Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1wGgsv-000000031L7-3F45 for pgsql-hackers@lists.postgresql.org; Sat, 25 Apr 2026 17:33:43 +0000 Received: by mail-wr1-x42a.google.com with SMTP id ffacd0b85a97d-43d75312379so6330275f8f.1 for ; Sat, 25 Apr 2026 10:33:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec.at; s=google; t=1777138419; x=1777743219; 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=4PxD+1ILIlOxGP59ngVuc6OzSHjwbGQUqp3boOJ74eQ=; b=YKaPpuelZ0q4UDEZdROeVW7JhKPrfO9YrDAJqpe7wC70wHT/l1ya0uC5pgfWLFK8K6 MLGNEVv2WHgKfzGhdMaqB/sLVqpul0nGUJja1zsb0wIi35IYRy5dP2/gFivy8vYi8RQe aZaWJzl0udVHc2cxsfnhBankJS8xUP5di4FM5bvoB2PFqVXBUW0wbfl03GxIvHQuiaGG YNCd/gs0PCVUyGQO+qvGf5GM5KYAVJqjSghP90gTydK95HrcIsaimc6R0GqUu4i17Udw rTmygFrxwR72wnKWiTh37TF8qnnJ2mMEVNng++tKOJsWESW13zMXjb1zk96bgAO9xtOP t0dg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1777138419; x=1777743219; 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=4PxD+1ILIlOxGP59ngVuc6OzSHjwbGQUqp3boOJ74eQ=; b=ICOcCZvO8Zcb34/NzsqI8HTVxpXwE7WjtrhDQO2q0KmRMNuOInL5EiKWCUiuSmyi9B 1lUJgEUwzkAkl2ojJEldbyJwf8aNyulf9HitQzKEjYeIHIwEhPw7Wirgq3XQEso/bF5f CoU4SOvN9uu6DJLnYuVeSEMVYZDgOjT5m8grQOwsZAXand6yLje6Ilb5TFGiqKAvhg9d wr8Kv+1EWtLGEzy64KhL537qdhkmRNKpqPRmpHSasZgugUqTVX67zp6D4Kt3Eb6izP0U kzghZW59HreSmdyDaQ/I+9teYkK+v9ICAlIAHeV4y79nfrHWWGICPTABwyXwraEKqJH2 IP+Q== X-Forwarded-Encrypted: i=1; AFNElJ9UukKmVLm0J9gaObTkFRkmXXkV6Ab4rtFsK0VYg+Vwy9zUw+hfyVDGn3isiI7qbI65BPKk6/2wmiKRFP+J@lists.postgresql.org X-Gm-Message-State: AOJu0YygS0A6V6Cr79fBg5aUnznpCHnrcj+f4spGl6qJ1BoZpRKdSi5O JO3H6vCbHea8mWltNkf0hzHapPBlRNetWGmR+BNfUlDM8jLMZy+KtXjQA9AHLkMkISc= X-Gm-Gg: AeBDieux+aX3tfF93ZCehuR0uHCUEWdZCjd5tZ/TuuYzH1w2cWNTWDJuQUP7AcBIUZD 2P3VP8UjWtwRgOwR9nGsysJ8ArPlSPwGKgsx5X8FtHrG+hkA782RDpNaFCvr179SuP3BSRTLPmy SWHFYr2G5Cit/rtLtAmA8TpKDBZNstOHcPh43XiI7wIsfbklLo/mVSlncROsG+fDZ40r9aXbkDg VvXg3jubL1C8E8hYJMuyz2CRqsdq8b5eJMO1ek1hAqRNegtE1AwIHGP5zvwi8JelWYAyghzWcT2 vnFfUHWaEJaL+7yoEBCdZaMjcnWnD/aYRcAsEbnMuBrQcicoDw2sVJVqCrjN63FDI+groNLJrgJ WiKlIJXfW06RZLPWyFZMxZnSCXypSmEIcfqC7j47m8h2v28CSPvHlbN/JmrBX+JxD5i1xTUsFV7 xnt3n2kXRSSxqiNSEuSMptPuTg0WnPCPf/bCyXrwS/g5Cr2TM= X-Received: by 2002:a05:6000:290c:b0:43d:772d:2b61 with SMTP id ffacd0b85a97d-43fe4073831mr54383066f8f.15.1777138419102; Sat, 25 Apr 2026 10:33:39 -0700 (PDT) Received: from localhost (109-81-168-142.rct.o2.cz. [109.81.168.142]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-43fe4cb1365sm72966190f8f.7.2026.04.25.10.33.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 25 Apr 2026 10:33:38 -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: <6933b6c3-5f6b-4ab6-9e86-dd76015d3d3a@app.fastmail.com> References: <52301.1776440752@localhost> <44015.1776685220@localhost> <6933b6c3-5f6b-4ab6-9e86-dd76015d3d3a@app.fastmail.com> Comments: In-reply-to =?us-ascii?Q?=3D=3FUTF-8=3FQ=3F=3DC3=3D81lvaro=5FHer?= =?us-ascii?Q?rera=3F=3D?= message dated "Sat, 25 Apr 2026 18:56:35 +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: Sat, 25 Apr 2026 19:33:38 +0200 Message-ID: <15004.1777138418@localhost> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk =C3=81lvaro Herrera wrote: > > ok, this is a patch to enhance the tests. It also simplifies > > gen_compressible() a bit and adjusts it so it is (hopefully) more relia= ble in > > generating compressible values. Now it can be used to reproduce the fix= [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 problems > when running this test without your fix (I was assuming that the test wou= ld > fail). I didn't immediately understand why. Do you see any failures? The enhanced tests should reproduce it (please let me know if they dont): https://www.postgresql.org/message-id/44015.1776685220%40localhost --=20 Antonin Houska Web: https://www.cybertec-postgresql.com